소스 검색

maxwell_to_gl: Implement PrimitiveTopology::LineStrip.

- Used by Breath of the Wild.
bunnei 8 년 전
부모
커밋
8fe118bcaa
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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: