summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTony Wasserka <neobrainx@gmail.com>2015-03-09 21:49:49 +0100
committerTony Wasserka <neobrainx@gmail.com>2015-03-09 21:49:49 +0100
commit5742367341688e3f769e0dc86fddc593c2de767c (patch)
tree356eb606efa0bb872eac04c89084160e0af12cc1 /src
parentMerge pull request #589 from kevinhartman/config-errors (diff)
downloadyuzu-5742367341688e3f769e0dc86fddc593c2de767c.tar
yuzu-5742367341688e3f769e0dc86fddc593c2de767c.tar.gz
yuzu-5742367341688e3f769e0dc86fddc593c2de767c.tar.bz2
yuzu-5742367341688e3f769e0dc86fddc593c2de767c.tar.lz
yuzu-5742367341688e3f769e0dc86fddc593c2de767c.tar.xz
yuzu-5742367341688e3f769e0dc86fddc593c2de767c.tar.zst
yuzu-5742367341688e3f769e0dc86fddc593c2de767c.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/primitive_assembly.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/video_core/primitive_assembly.cpp b/src/video_core/primitive_assembly.cpp
index 1776a1925..0120f2896 100644
--- a/src/video_core/primitive_assembly.cpp
+++ b/src/video_core/primitive_assembly.cpp
@@ -33,12 +33,9 @@ void PrimitiveAssembler<VertexType>::SubmitVertex(VertexType& vtx, TriangleHandl
case Regs::TriangleTopology::Strip:
case Regs::TriangleTopology::Fan:
- if (strip_ready) {
- // TODO: Should be "buffer[0], buffer[1], vtx" instead!
- // Not quite sure why we need this order for things to show up properly.
- // Maybe a bug in the rasterizer?
- triangle_handler(buffer[1], buffer[0], vtx);
- }
+ if (strip_ready)
+ triangle_handler(buffer[0], buffer[1], vtx);
+
buffer[buffer_index] = vtx;
if (topology == Regs::TriangleTopology::Strip) {