summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-22 07:08:34 +0200
committerGitHub <noreply@github.com>2018-08-22 07:08:34 +0200
commit5abf71fe651cba9aafc3227ce06d51dcfb30f6c4 (patch)
treeb6a92bfc15bca8a70fdebe6b14852924b79c6c8a /src/video_core/renderer_opengl
parentMerge pull request #1141 from FearlessTobi/port-3902 (diff)
parentmaxwell_to_gl: Implement PrimitiveTopology::Lines (diff)
downloadyuzu-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
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/maxwell_to_gl.h2
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: