1
0
Fork 0
forked from eden-emu/eden

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
commit b70f757913
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

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