diff options
| author | 2018-07-24 04:44:56 -0700 | |
|---|---|---|
| committer | 2018-07-24 04:44:56 -0700 | |
| commit | b70f75791383fd41aa0cf734bd1352166829704d (patch) | |
| tree | 7665358bc994680433c217b6ebbc9a247a0c43a3 /src | |
| parent | Merge pull request #789 from bunnei/tex-wrap-border (diff) | |
| parent | maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt. (diff) | |
| download | yuzu-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.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) { | |||
| 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 | } |