Преглед на файлове

maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt.

bunnei преди 8 години
родител
ревизия
2ff86f5765
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      src/video_core/renderer_opengl/maxwell_to_gl.h

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

@@ -56,6 +56,9 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) {
         return {};
     }
 
+    case Maxwell::VertexAttribute::Type::UnsignedInt:
+        return GL_UNSIGNED_INT;
+
     case Maxwell::VertexAttribute::Type::Float:
         return GL_FLOAT;
     }