diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-24 04:44:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-24 04:44:56 -0700 |
commit | b70f75791383fd41aa0cf734bd1352166829704d (patch) | |
tree | 7665358bc994680433c217b6ebbc9a247a0c43a3 /src | |
parent | 54af9c206a533e63a5785504fdac3d40e9a02cad (diff) | |
parent | 2ff86f5765f8ff2a8c9188efa465e79c44738596 (diff) |
Merge pull request #796 from bunnei/gl-uint
maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt.
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_opengl/maxwell_to_gl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/maxwell_to_gl.h b/src/video_core/renderer_opengl/maxwell_to_gl.h index 369bdd905..16b1bd606 100644 --- a/src/video_core/renderer_opengl/maxwell_to_gl.h +++ b/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; } |