Kaynağa Gözat

maxwell_to_gl: Implement PrimitiveTopology::Points.

- Used by Super Mario Odyssey (in game).
bunnei 8 yıl önce
ebeveyn
işleme
06d0b96ca9

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

@@ -85,6 +85,8 @@ inline GLenum IndexFormat(Maxwell::IndexFormat index_format) {
 
 inline GLenum PrimitiveTopology(Maxwell::PrimitiveTopology topology) {
     switch (topology) {
+    case Maxwell::PrimitiveTopology::Points:
+        return GL_POINTS;
     case Maxwell::PrimitiveTopology::Triangles:
         return GL_TRIANGLES;
     case Maxwell::PrimitiveTopology::TriangleStrip: