mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 01:02:48 +01:00
Merge pull request #796 from bunnei/gl-uint
maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt.
This commit is contained in:
commit
b70f757913
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue