summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-25 21:54:51 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-25 21:54:51 +0200
commit00529c71d4863e7c532548d61fefec92953a9b58 (patch)
treeda4c9891e2ed028495f744ce87a6179aa8859ba0
parentMerge pull request #892 from zawata/another-warning-fixes (diff)
downloadyuzu-00529c71d4863e7c532548d61fefec92953a9b58.tar
yuzu-00529c71d4863e7c532548d61fefec92953a9b58.tar.gz
yuzu-00529c71d4863e7c532548d61fefec92953a9b58.tar.bz2
yuzu-00529c71d4863e7c532548d61fefec92953a9b58.tar.lz
yuzu-00529c71d4863e7c532548d61fefec92953a9b58.tar.xz
yuzu-00529c71d4863e7c532548d61fefec92953a9b58.tar.zst
yuzu-00529c71d4863e7c532548d61fefec92953a9b58.zip
-rw-r--r--src/video_core/debug_utils/debug_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp
index fc9faffc3..c3f8321c6 100644
--- a/src/video_core/debug_utils/debug_utils.cpp
+++ b/src/video_core/debug_utils/debug_utils.cpp
@@ -85,7 +85,7 @@ void GeometryDumper::AddTriangle(Vertex& v0, Vertex& v1, Vertex& v2) {
vertices.push_back(v1);
vertices.push_back(v2);
- size_t num_vertices = vertices.size();
+ int num_vertices = (int)vertices.size();
faces.push_back({ num_vertices-3, num_vertices-2, num_vertices-1 });
}