diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-13 07:18:13 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-08-13 07:34:21 +0200 |
commit | 41b77c4e0af45b0b8235e1ea52a1c9ec1ec4ed32 (patch) | |
tree | 5ef814d6d91f46257eca1ad37adecb0f4d340842 /src/video_core | |
parent | Merge pull request #1047 from bunnei/rgba16-uint (diff) | |
download | yuzu-41b77c4e0af45b0b8235e1ea52a1c9ec1ec4ed32.tar yuzu-41b77c4e0af45b0b8235e1ea52a1c9ec1ec4ed32.tar.gz yuzu-41b77c4e0af45b0b8235e1ea52a1c9ec1ec4ed32.tar.bz2 yuzu-41b77c4e0af45b0b8235e1ea52a1c9ec1ec4ed32.tar.lz yuzu-41b77c4e0af45b0b8235e1ea52a1c9ec1ec4ed32.tar.xz yuzu-41b77c4e0af45b0b8235e1ea52a1c9ec1ec4ed32.tar.zst yuzu-41b77c4e0af45b0b8235e1ea52a1c9ec1ec4ed32.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_opengl/maxwell_to_gl.h | 1 |
1 files changed, 1 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 679e5ceb2..83ea0cfc0 100644 --- a/src/video_core/renderer_opengl/maxwell_to_gl.h +++ b/src/video_core/renderer_opengl/maxwell_to_gl.h @@ -27,6 +27,7 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) { case Maxwell::VertexAttribute::Type::UnsignedNorm: { switch (attrib.size) { + case Maxwell::VertexAttribute::Size::Size_8: case Maxwell::VertexAttribute::Size::Size_8_8: case Maxwell::VertexAttribute::Size::Size_8_8_8_8: return GL_UNSIGNED_BYTE; |