Explorar o código

maxwell_to_gl: Implement PrimitiveTopology::LineStrip.

- Used by Breath of the Wild.
bunnei %!s(int64=8) %!d(string=hai) anos
pai
achega
8fe118bcaa
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/video_core/renderer_opengl/maxwell_to_gl.h

+ 2 - 0
src/video_core/renderer_opengl/maxwell_to_gl.h

@@ -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: