diff options
| author | 2018-08-22 01:08:34 -0400 | |
|---|---|---|
| committer | 2018-08-22 01:08:34 -0400 | |
| commit | 5abf71fe651cba9aafc3227ce06d51dcfb30f6c4 (patch) | |
| tree | b6a92bfc15bca8a70fdebe6b14852924b79c6c8a /src | |
| parent | Merge pull request #1141 from FearlessTobi/port-3902 (diff) | |
| parent | maxwell_to_gl: Implement PrimitiveTopology::Lines (diff) | |
| download | yuzu-5abf71fe651cba9aafc3227ce06d51dcfb30f6c4.tar.gz yuzu-5abf71fe651cba9aafc3227ce06d51dcfb30f6c4.tar.xz yuzu-5abf71fe651cba9aafc3227ce06d51dcfb30f6c4.zip | |
Merge pull request #1154 from OatmealDome/topology-lines
maxwell_to_gl: Implement PrimitiveTopology::Lines
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 ff2f7b8b6..0d55b3e17 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: |