diff options
| author | 2018-08-12 23:21:34 -0400 | |
|---|---|---|
| committer | 2018-08-12 23:21:34 -0400 | |
| commit | e56a444da9a015fca8c901050f4a5c9d38003c49 (patch) | |
| tree | 9015a0076d41ce4736aa2d89ad9bc09dca4d81a2 | |
| parent | Merge pull request #1043 from Subv/timing (diff) | |
| parent | maxwell_to_gl: Implement PrimitiveTopology::LineStrip. (diff) | |
| download | yuzu-e56a444da9a015fca8c901050f4a5c9d38003c49.tar.gz yuzu-e56a444da9a015fca8c901050f4a5c9d38003c49.tar.xz yuzu-e56a444da9a015fca8c901050f4a5c9d38003c49.zip | |
Merge pull request #1044 from bunnei/linestrip
maxwell_to_gl: Implement PrimitiveTopology::LineStrip.
| -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) { | |||
| 91 | switch (topology) { | 91 | switch (topology) { |
| 92 | case Maxwell::PrimitiveTopology::Points: | 92 | case Maxwell::PrimitiveTopology::Points: |
| 93 | return GL_POINTS; | 93 | return GL_POINTS; |
| 94 | case Maxwell::PrimitiveTopology::LineStrip: | ||
| 95 | return GL_LINE_STRIP; | ||
| 94 | case Maxwell::PrimitiveTopology::Triangles: | 96 | case Maxwell::PrimitiveTopology::Triangles: |
| 95 | return GL_TRIANGLES; | 97 | return GL_TRIANGLES; |
| 96 | case Maxwell::PrimitiveTopology::TriangleStrip: | 98 | case Maxwell::PrimitiveTopology::TriangleStrip: |