ソースを参照

Merge pull request #1154 from OatmealDome/topology-lines

maxwell_to_gl: Implement PrimitiveTopology::Lines
bunnei 8 年 前
コミット
5abf71fe65
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

@@ -107,6 +107,8 @@ inline GLenum PrimitiveTopology(Maxwell::PrimitiveTopology topology) {
     switch (topology) {
     case Maxwell::PrimitiveTopology::Points:
         return GL_POINTS;
+    case Maxwell::PrimitiveTopology::Lines:
+        return GL_LINES;
     case Maxwell::PrimitiveTopology::LineStrip:
         return GL_LINE_STRIP;
     case Maxwell::PrimitiveTopology::Triangles: