diff options
author | OatmealDome <OatmealDome@users.noreply.github.com> | 2018-08-22 07:01:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-22 07:01:06 +0200 |
commit | ad1220e1b3698fa134116fcb0d736f343b26332f (patch) | |
tree | 4bf942f041190daef52dcfb1aa7d6d9991ed5001 /src/video_core/renderer_opengl/maxwell_to_gl.h | |
parent | Merge pull request #1147 from lioncash/warn (diff) | |
download | yuzu-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.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 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: |