summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-09 04:16:27 +0200
committerbunnei <bunneidev@gmail.com>2018-08-09 05:28:00 +0200
commit06d0b96ca9b25b26f59e965e23e2cc7491c6ce66 (patch)
treed3f1c3e54e3ab371191795122b960d139f7c5a35
parentMerge pull request #982 from bunnei/stub-unk-63 (diff)
downloadyuzu-06d0b96ca9b25b26f59e965e23e2cc7491c6ce66.tar
yuzu-06d0b96ca9b25b26f59e965e23e2cc7491c6ce66.tar.gz
yuzu-06d0b96ca9b25b26f59e965e23e2cc7491c6ce66.tar.bz2
yuzu-06d0b96ca9b25b26f59e965e23e2cc7491c6ce66.tar.lz
yuzu-06d0b96ca9b25b26f59e965e23e2cc7491c6ce66.tar.xz
yuzu-06d0b96ca9b25b26f59e965e23e2cc7491c6ce66.tar.zst
yuzu-06d0b96ca9b25b26f59e965e23e2cc7491c6ce66.zip
-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 500d4d4b1..f57464981 100644
--- a/src/video_core/renderer_opengl/maxwell_to_gl.h
+++ b/src/video_core/renderer_opengl/maxwell_to_gl.h
@@ -85,6 +85,8 @@ inline GLenum IndexFormat(Maxwell::IndexFormat index_format) {
inline GLenum PrimitiveTopology(Maxwell::PrimitiveTopology topology) {
switch (topology) {
+ case Maxwell::PrimitiveTopology::Points:
+ return GL_POINTS;
case Maxwell::PrimitiveTopology::Triangles:
return GL_TRIANGLES;
case Maxwell::PrimitiveTopology::TriangleStrip: