Skip to content
Snippets Groups Projects
Commit 41b77c4e authored by bunnei's avatar bunnei
Browse files

maxwell_to_gl: Implement VertexAttribute::Size::Size_8.

- Used by Breath of the Wild.
parent baaafbd5
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,7 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) {
case Maxwell::VertexAttribute::Type::UnsignedNorm: {
switch (attrib.size) {
case Maxwell::VertexAttribute::Size::Size_8:
case Maxwell::VertexAttribute::Size::Size_8_8:
case Maxwell::VertexAttribute::Size::Size_8_8_8_8:
return GL_UNSIGNED_BYTE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment