mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-11 09:42:54 +01:00
maxwell_to_gl: Implement PrimitiveTopology::LineStrip.
- Used by Breath of the Wild.
This commit is contained in:
1 parent
a1aacf27d7
commit
dcd05b3e87
1 file changed
+2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user