diff options
| author | 2018-08-22 01:01:06 -0400 | |
|---|---|---|
| committer | 2018-08-22 01:01:06 -0400 | |
| commit | ad1220e1b3698fa134116fcb0d736f343b26332f (patch) | |
| tree | 4bf942f041190daef52dcfb1aa7d6d9991ed5001 /src | |
| parent | Merge pull request #1147 from lioncash/warn (diff) | |
| download | yuzu-ad1220e1b3698fa134116fcb0d736f343b26332f.tar.gz yuzu-ad1220e1b3698fa134116fcb0d736f343b26332f.tar.xz yuzu-ad1220e1b3698fa134116fcb0d736f343b26332f.zip | |
maxwell_to_gl: Implement PrimitiveTopology::Lines
Used by Splatoon 2's debug menu.
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 5d91a0c2f..7625fbd4d 100644 --- a/src/video_core/renderer_opengl/maxwell_to_gl.h +++ b/src/video_core/renderer_opengl/maxwell_to_gl.h | |||
| @@ -107,6 +107,8 @@ inline GLenum PrimitiveTopology(Maxwell::PrimitiveTopology topology) { | |||
| 107 | switch (topology) { | 107 | switch (topology) { |
| 108 | case Maxwell::PrimitiveTopology::Points: | 108 | case Maxwell::PrimitiveTopology::Points: |
| 109 | return GL_POINTS; | 109 | return GL_POINTS; |
| 110 | case Maxwell::PrimitiveTopology::Lines: | ||
| 111 | return GL_LINES; | ||
| 110 | case Maxwell::PrimitiveTopology::LineStrip: | 112 | case Maxwell::PrimitiveTopology::LineStrip: |
| 111 | return GL_LINE_STRIP; | 113 | return GL_LINE_STRIP; |
| 112 | case Maxwell::PrimitiveTopology::Triangles: | 114 | case Maxwell::PrimitiveTopology::Triangles: |