diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-13 05:21:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-13 05:21:34 +0200 |
commit | e56a444da9a015fca8c901050f4a5c9d38003c49 (patch) | |
tree | 9015a0076d41ce4736aa2d89ad9bc09dca4d81a2 /src | |
parent | Merge pull request #1043 from Subv/timing (diff) | |
parent | maxwell_to_gl: Implement PrimitiveTopology::LineStrip. (diff) | |
download | yuzu-e56a444da9a015fca8c901050f4a5c9d38003c49.tar yuzu-e56a444da9a015fca8c901050f4a5c9d38003c49.tar.gz yuzu-e56a444da9a015fca8c901050f4a5c9d38003c49.tar.bz2 yuzu-e56a444da9a015fca8c901050f4a5c9d38003c49.tar.lz yuzu-e56a444da9a015fca8c901050f4a5c9d38003c49.tar.xz yuzu-e56a444da9a015fca8c901050f4a5c9d38003c49.tar.zst yuzu-e56a444da9a015fca8c901050f4a5c9d38003c49.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_opengl/maxwell_to_gl.h | 2 |
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: |