mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-10-31 20:37:52 +00:00
Merge pull request #1044 from bunnei/linestrip
maxwell_to_gl: Implement PrimitiveTopology::LineStrip.
This commit is contained in:
commit
e56a444da9
1 changed files with 2 additions and 0 deletions
|
@ -91,6 +91,8 @@ inline GLenum PrimitiveTopology(Maxwell::PrimitiveTopology topology) {
|
||||||
switch (topology) {
|
switch (topology) {
|
||||||
case Maxwell::PrimitiveTopology::Points:
|
case Maxwell::PrimitiveTopology::Points:
|
||||||
return GL_POINTS;
|
return GL_POINTS;
|
||||||
|
case Maxwell::PrimitiveTopology::LineStrip:
|
||||||
|
return GL_LINE_STRIP;
|
||||||
case Maxwell::PrimitiveTopology::Triangles:
|
case Maxwell::PrimitiveTopology::Triangles:
|
||||||
return GL_TRIANGLES;
|
return GL_TRIANGLES;
|
||||||
case Maxwell::PrimitiveTopology::TriangleStrip:
|
case Maxwell::PrimitiveTopology::TriangleStrip:
|
||||||
|
|
Loading…
Reference in a new issue