summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOatmealDome <OatmealDome@users.noreply.github.com>2018-08-22 01:01:06 -0400
committerGitHub <noreply@github.com>2018-08-22 01:01:06 -0400
commitad1220e1b3698fa134116fcb0d736f343b26332f (patch)
tree4bf942f041190daef52dcfb1aa7d6d9991ed5001 /src
parent92b85fad70084d8f37a97939cbb18e131f531b11 (diff)
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.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 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) {
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: