summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/maxwell_to_gl.h
diff options
context:
space:
mode:
authorOatmealDome <OatmealDome@users.noreply.github.com>2018-08-22 07:01:06 +0200
committerGitHub <noreply@github.com>2018-08-22 07:01:06 +0200
commitad1220e1b3698fa134116fcb0d736f343b26332f (patch)
tree4bf942f041190daef52dcfb1aa7d6d9991ed5001 /src/video_core/renderer_opengl/maxwell_to_gl.h
parentMerge pull request #1147 from lioncash/warn (diff)
downloadyuzu-ad1220e1b3698fa134116fcb0d736f343b26332f.tar
yuzu-ad1220e1b3698fa134116fcb0d736f343b26332f.tar.gz
yuzu-ad1220e1b3698fa134116fcb0d736f343b26332f.tar.bz2
yuzu-ad1220e1b3698fa134116fcb0d736f343b26332f.tar.lz
yuzu-ad1220e1b3698fa134116fcb0d736f343b26332f.tar.xz
yuzu-ad1220e1b3698fa134116fcb0d736f343b26332f.tar.zst
yuzu-ad1220e1b3698fa134116fcb0d736f343b26332f.zip
Diffstat (limited to '')
-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: