summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-23 23:12:14 -0400
committerbunnei <bunneidev@gmail.com>2018-07-23 23:12:14 -0400
commit2ff86f5765f8ff2a8c9188efa465e79c44738596 (patch)
tree952a95cb655614061cdd54d65831ae2c87bee3b5 /src
parent92304181d5551108d8eac6e1d2c8294ee6378c11 (diff)
maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt.
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/maxwell_to_gl.h3
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 e19c3b280..eb823ea91 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;
}