diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-09 04:16:27 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-08-09 05:28:00 +0200 |
commit | 06d0b96ca9b25b26f59e965e23e2cc7491c6ce66 (patch) | |
tree | d3f1c3e54e3ab371191795122b960d139f7c5a35 /src/video_core/renderer_opengl/maxwell_to_gl.h | |
parent | Merge pull request #982 from bunnei/stub-unk-63 (diff) | |
download | yuzu-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 |
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 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: |