Skip to content
Snippets Groups Projects
Commit 8fe118bc authored by bunnei's avatar bunnei
Browse files

maxwell_to_gl: Implement PrimitiveTopology::LineStrip.

- Used by Breath of the Wild.
parent fecffeb0
No related branches found
No related tags found
No related merge requests found
......@@ -91,6 +91,8 @@ inline GLenum PrimitiveTopology(Maxwell::PrimitiveTopology topology) {
switch (topology) {
case Maxwell::PrimitiveTopology::Points:
return GL_POINTS;
case Maxwell::PrimitiveTopology::LineStrip:
return GL_LINE_STRIP;
case Maxwell::PrimitiveTopology::Triangles:
return GL_TRIANGLES;
case Maxwell::PrimitiveTopology::TriangleStrip:
......
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