diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-24 13:44:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-24 13:44:56 +0200 |
commit | b70f75791383fd41aa0cf734bd1352166829704d (patch) | |
tree | 7665358bc994680433c217b6ebbc9a247a0c43a3 /src/video_core | |
parent | Merge pull request #789 from bunnei/tex-wrap-border (diff) | |
parent | maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt. (diff) | |
download | yuzu-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/video_core')
-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; } |