Skip to content
Snippets Groups Projects
Unverified Commit f9ad88f9 authored by Sebastian Valle's avatar Sebastian Valle Committed by GitHub
Browse files

Merge pull request #2484 from ReinUsesLisp/triangle-fan

maxwell_to_gl: Add TriangleFan primitive topology
parents edf8c0a5 52340c32
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