1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-26 05:56:33 -05:00

Merge pull request #796 from bunnei/gl-uint

maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt.
This commit is contained in:
bunnei
2018-07-24 04:44:56 -07:00
committed by GitHub

View File

@@ -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;
}