summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2018-07-24 04:44:56 -0700
committerGravatar GitHub2018-07-24 04:44:56 -0700
commitb70f75791383fd41aa0cf734bd1352166829704d (patch)
tree7665358bc994680433c217b6ebbc9a247a0c43a3 /src
parentMerge pull request #789 from bunnei/tex-wrap-border (diff)
parentmaxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt. (diff)
downloadyuzu-b70f75791383fd41aa0cf734bd1352166829704d.tar.gz
yuzu-b70f75791383fd41aa0cf734bd1352166829704d.tar.xz
yuzu-b70f75791383fd41aa0cf734bd1352166829704d.zip
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.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 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) {
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 }