Skip to content
Snippets Groups Projects
Unverified Commit 9bf9c71c authored by Mat M's avatar Mat M Committed by GitHub
Browse files

Merge pull request #1049 from bunnei/vtx-size-8

maxwell_to_gl: Implement VertexAttribute::Size::Size_8.
parents e67630b5 41b77c4e
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