summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorSebastian Valle <sebastianvalle@uninorte.edu.co>2019-05-19 15:53:29 +0200
committerGitHub <noreply@github.com>2019-05-19 15:53:29 +0200
commitf9ad88f9d70eb554be91bb3676851ebdd623d60d (patch)
tree5c922a43a1051ad706976d08238daeebce056bc6 /src/video_core
parentMerge pull request #2490 from lioncash/float (diff)
parentmaxwell_to_gl: Add TriangleFan primitive topology (diff)
downloadyuzu-f9ad88f9d70eb554be91bb3676851ebdd623d60d.tar
yuzu-f9ad88f9d70eb554be91bb3676851ebdd623d60d.tar.gz
yuzu-f9ad88f9d70eb554be91bb3676851ebdd623d60d.tar.bz2
yuzu-f9ad88f9d70eb554be91bb3676851ebdd623d60d.tar.lz
yuzu-f9ad88f9d70eb554be91bb3676851ebdd623d60d.tar.xz
yuzu-f9ad88f9d70eb554be91bb3676851ebdd623d60d.tar.zst
yuzu-f9ad88f9d70eb554be91bb3676851ebdd623d60d.zip
Diffstat (limited to 'src/video_core')
-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 95b773135..ed7b5cff0 100644
--- a/src/video_core/renderer_opengl/maxwell_to_gl.h
+++ b/src/video_core/renderer_opengl/maxwell_to_gl.h
@@ -126,6 +126,8 @@ inline GLenum PrimitiveTopology(Maxwell::PrimitiveTopology topology) {
return GL_TRIANGLES;
case Maxwell::PrimitiveTopology::TriangleStrip:
return GL_TRIANGLE_STRIP;
+ case Maxwell::PrimitiveTopology::TriangleFan:
+ return GL_TRIANGLE_FAN;
default:
LOG_CRITICAL(Render_OpenGL, "Unimplemented topology={}", static_cast<u32>(topology));
UNREACHABLE();