mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-09-12 12:37:49 +02:00
maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt.
This commit is contained in:
parent
92304181d5
commit
2ff86f5765
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user