Explorar o código

maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt.

bunnei %!s(int64=8) %!d(string=hai) anos
pai
achega
2ff86f5765
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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;
     }