diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-22 07:08:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-22 07:08:34 +0200 |
commit | 5abf71fe651cba9aafc3227ce06d51dcfb30f6c4 (patch) | |
tree | b6a92bfc15bca8a70fdebe6b14852924b79c6c8a | |
parent | Merge pull request #1141 from FearlessTobi/port-3902 (diff) | |
parent | maxwell_to_gl: Implement PrimitiveTopology::Lines (diff) | |
download | yuzu-5abf71fe651cba9aafc3227ce06d51dcfb30f6c4.tar yuzu-5abf71fe651cba9aafc3227ce06d51dcfb30f6c4.tar.gz yuzu-5abf71fe651cba9aafc3227ce06d51dcfb30f6c4.tar.bz2 yuzu-5abf71fe651cba9aafc3227ce06d51dcfb30f6c4.tar.lz yuzu-5abf71fe651cba9aafc3227ce06d51dcfb30f6c4.tar.xz yuzu-5abf71fe651cba9aafc3227ce06d51dcfb30f6c4.tar.zst yuzu-5abf71fe651cba9aafc3227ce06d51dcfb30f6c4.zip |
-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) { 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: |