Browse Source
Merge pull request #796 from bunnei/gl-uint
maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt.
pull/15/merge
bunnei
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
src/video_core/renderer_opengl/maxwell_to_gl.h
|
|
|
@ -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; |
|
|
|
} |
|
|
|
|