summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-24 13:44:56 +0200
committerGitHub <noreply@github.com>2018-07-24 13:44:56 +0200
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
yuzu-b70f75791383fd41aa0cf734bd1352166829704d.tar.gz
yuzu-b70f75791383fd41aa0cf734bd1352166829704d.tar.bz2
yuzu-b70f75791383fd41aa0cf734bd1352166829704d.tar.lz
yuzu-b70f75791383fd41aa0cf734bd1352166829704d.tar.xz
yuzu-b70f75791383fd41aa0cf734bd1352166829704d.tar.zst
yuzu-b70f75791383fd41aa0cf734bd1352166829704d.zip
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) {
return {};
}
+ case Maxwell::VertexAttribute::Type::UnsignedInt:
+ return GL_UNSIGNED_INT;
+
case Maxwell::VertexAttribute::Type::Float:
return GL_FLOAT;
}