diff options
| author | bunnei <bunneidev@gmail.com> | 2018-08-22 01:08:34 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-22 01:08:34 -0400 |
| commit | cd6e3b910db3ef1024f895db8cb09fa938c2a616 (patch) | |
| tree | b6a92bfc15bca8a70fdebe6b14852924b79c6c8a /src | |
| parent | a50429187e633242cebf33450d889efa36732143 (diff) | |
| parent | 01252834390fdf3d14631ad02cc1c6056c486a90 (diff) | |
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 ff2f7b8b61..0d55b3e176 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) { switch (topology) { case Maxwell::PrimitiveTopology::Points: return GL_POINTS; + case Maxwell::PrimitiveTopology::Lines: + return GL_LINES; case Maxwell::PrimitiveTopology::LineStrip: return GL_LINE_STRIP; case Maxwell::PrimitiveTopology::Triangles: |
