summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-13 05:07:44 +0200
committerbunnei <bunneidev@gmail.com>2018-08-13 05:09:32 +0200
commit8fe118bcaa2d0e875b7bc2169710c0238e23b32e (patch)
tree9015a0076d41ce4736aa2d89ad9bc09dca4d81a2
parentMerge pull request #1043 from Subv/timing (diff)
downloadyuzu-8fe118bcaa2d0e875b7bc2169710c0238e23b32e.tar
yuzu-8fe118bcaa2d0e875b7bc2169710c0238e23b32e.tar.gz
yuzu-8fe118bcaa2d0e875b7bc2169710c0238e23b32e.tar.bz2
yuzu-8fe118bcaa2d0e875b7bc2169710c0238e23b32e.tar.lz
yuzu-8fe118bcaa2d0e875b7bc2169710c0238e23b32e.tar.xz
yuzu-8fe118bcaa2d0e875b7bc2169710c0238e23b32e.tar.zst
yuzu-8fe118bcaa2d0e875b7bc2169710c0238e23b32e.zip
-rw-r--r--src/video_core/renderer_opengl/maxwell_to_gl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/maxwell_to_gl.h b/src/video_core/renderer_opengl/maxwell_to_gl.h
index 5afd20dbe..679e5ceb2 100644
--- a/src/video_core/renderer_opengl/maxwell_to_gl.h
+++ b/src/video_core/renderer_opengl/maxwell_to_gl.h
@@ -91,6 +91,8 @@ inline GLenum PrimitiveTopology(Maxwell::PrimitiveTopology topology) {
switch (topology) {
case Maxwell::PrimitiveTopology::Points:
return GL_POINTS;
+ case Maxwell::PrimitiveTopology::LineStrip:
+ return GL_LINE_STRIP;
case Maxwell::PrimitiveTopology::Triangles:
return GL_TRIANGLES;
case Maxwell::PrimitiveTopology::TriangleStrip: