Explorar el Código

Merge pull request #796 from bunnei/gl-uint

maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt.
bunnei hace 8 años
padre
commit
b70f757913
Se han modificado 1 ficheros con 3 adiciones y 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;
     }