Skip to content
Snippets Groups Projects
Unverified Commit b70f7579 authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Merge pull request #796 from bunnei/gl-uint

maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt.
parents 54af9c20 2ff86f57
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,9 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) { ...@@ -56,6 +56,9 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) {
return {}; return {};
} }
case Maxwell::VertexAttribute::Type::UnsignedInt:
return GL_UNSIGNED_INT;
case Maxwell::VertexAttribute::Type::Float: case Maxwell::VertexAttribute::Type::Float:
return GL_FLOAT; return GL_FLOAT;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment