Skip to content
Snippets Groups Projects
Commit 52340c32 authored by ReinUsesLisp's avatar ReinUsesLisp
Browse files

maxwell_to_gl: Add TriangleFan primitive topology

parent 6f1720a5
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment