summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTony Wasserka <neobrainx@gmail.com>2015-07-15 17:22:22 +0200
committerTony Wasserka <neobrainx@gmail.com>2015-07-15 17:22:22 +0200
commit6cd52d0f18852b299442f3158a41a100aec84a07 (patch)
tree7dceab362632f7b5228bf48f02e1a20f21103bab /src
parentMerge pull request #928 from JSFernandes/master (diff)
parentPica/Clipper: Output proper number of triangles in debugging logs. (diff)
downloadyuzu-6cd52d0f18852b299442f3158a41a100aec84a07.tar
yuzu-6cd52d0f18852b299442f3158a41a100aec84a07.tar.gz
yuzu-6cd52d0f18852b299442f3158a41a100aec84a07.tar.bz2
yuzu-6cd52d0f18852b299442f3158a41a100aec84a07.tar.lz
yuzu-6cd52d0f18852b299442f3158a41a100aec84a07.tar.xz
yuzu-6cd52d0f18852b299442f3158a41a100aec84a07.tar.zst
yuzu-6cd52d0f18852b299442f3158a41a100aec84a07.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/clipper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/clipper.cpp b/src/video_core/clipper.cpp
index 224132d71..558b49d60 100644
--- a/src/video_core/clipper.cpp
+++ b/src/video_core/clipper.cpp
@@ -153,7 +153,7 @@ void ProcessTriangle(OutputVertex &v0, OutputVertex &v1, OutputVertex &v2) {
"Triangle %lu/%lu at position (%.3f, %.3f, %.3f, %.3f), "
"(%.3f, %.3f, %.3f, %.3f), (%.3f, %.3f, %.3f, %.3f) and "
"screen position (%.2f, %.2f, %.2f), (%.2f, %.2f, %.2f), (%.2f, %.2f, %.2f)",
- i, output_list->size(),
+ i + 1, output_list->size() - 2,
vtx0.pos.x.ToFloat32(), vtx0.pos.y.ToFloat32(), vtx0.pos.z.ToFloat32(), vtx0.pos.w.ToFloat32(),
vtx1.pos.x.ToFloat32(), vtx1.pos.y.ToFloat32(), vtx1.pos.z.ToFloat32(), vtx1.pos.w.ToFloat32(),
vtx2.pos.x.ToFloat32(), vtx2.pos.y.ToFloat32(), vtx2.pos.z.ToFloat32(), vtx2.pos.w.ToFloat32(),