diff options
| author | 2018-07-23 23:12:14 -0400 | |
|---|---|---|
| committer | 2018-07-23 23:12:14 -0400 | |
| commit | 2ff86f5765f8ff2a8c9188efa465e79c44738596 (patch) | |
| tree | 952a95cb655614061cdd54d65831ae2c87bee3b5 /src | |
| parent | Merge pull request #792 from lioncash/retval (diff) | |
| download | yuzu-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.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 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 | } |