mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-15 23:35:38 +00:00
maxwell_to_gl: Implement PrimitiveTopology::LineStrip.
- Used by Breath of the Wild.
This commit is contained in:
parent
fecffeb0dd
commit
8fe118bcaa
|
@ -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