summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2018-07-23 23:12:14 -0400
committerGravatar bunnei2018-07-23 23:12:14 -0400
commit2ff86f5765f8ff2a8c9188efa465e79c44738596 (patch)
tree952a95cb655614061cdd54d65831ae2c87bee3b5 /src
parentMerge pull request #792 from lioncash/retval (diff)
downloadyuzu-2ff86f5765f8ff2a8c9188efa465e79c44738596.tar.gz
yuzu-2ff86f5765f8ff2a8c9188efa465e79c44738596.tar.xz
yuzu-2ff86f5765f8ff2a8c9188efa465e79c44738596.zip
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) {
56 return {}; 56 return {};
57 } 57 }
58 58
59 case Maxwell::VertexAttribute::Type::UnsignedInt:
60 return GL_UNSIGNED_INT;
61
59 case Maxwell::VertexAttribute::Type::Float: 62 case Maxwell::VertexAttribute::Type::Float:
60 return GL_FLOAT; 63 return GL_FLOAT;
61 } 64 }