summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-05-18 00:58:02 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-05-18 00:58:02 +0200
commit52340c329489bb87f64be850def2a860c2b9571c (patch)
treeea9442f30397143ab9e0d45e4f6222a3a520c961
parentMerge pull request #2477 from ReinUsesLisp/fix-sdl2 (diff)
downloadyuzu-52340c329489bb87f64be850def2a860c2b9571c.tar
yuzu-52340c329489bb87f64be850def2a860c2b9571c.tar.gz
yuzu-52340c329489bb87f64be850def2a860c2b9571c.tar.bz2
yuzu-52340c329489bb87f64be850def2a860c2b9571c.tar.lz
yuzu-52340c329489bb87f64be850def2a860c2b9571c.tar.xz
yuzu-52340c329489bb87f64be850def2a860c2b9571c.tar.zst
yuzu-52340c329489bb87f64be850def2a860c2b9571c.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 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();