maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt.

merge-requests/60/head
bunnei 2018-07-23 23:12:14 +07:00
parent 92304181d5
commit 2ff86f5765
1 changed files with 3 additions and 0 deletions

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