summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2018-08-08 22:16:27 -0400
committerGravatar bunnei2018-08-08 23:28:00 -0400
commit06d0b96ca9b25b26f59e965e23e2cc7491c6ce66 (patch)
treed3f1c3e54e3ab371191795122b960d139f7c5a35 /src
parentMerge pull request #982 from bunnei/stub-unk-63 (diff)
downloadyuzu-06d0b96ca9b25b26f59e965e23e2cc7491c6ce66.tar.gz
yuzu-06d0b96ca9b25b26f59e965e23e2cc7491c6ce66.tar.xz
yuzu-06d0b96ca9b25b26f59e965e23e2cc7491c6ce66.zip
maxwell_to_gl: Implement PrimitiveTopology::Points.
- Used by Super Mario Odyssey (in game).
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 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) {
85 85
86inline GLenum PrimitiveTopology(Maxwell::PrimitiveTopology topology) { 86inline GLenum PrimitiveTopology(Maxwell::PrimitiveTopology topology) {
87 switch (topology) { 87 switch (topology) {
88 case Maxwell::PrimitiveTopology::Points:
89 return GL_POINTS;
88 case Maxwell::PrimitiveTopology::Triangles: 90 case Maxwell::PrimitiveTopology::Triangles:
89 return GL_TRIANGLES; 91 return GL_TRIANGLES;
90 case Maxwell::PrimitiveTopology::TriangleStrip: 92 case Maxwell::PrimitiveTopology::TriangleStrip: