summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-13 07:18:13 +0200
committerbunnei <bunneidev@gmail.com>2018-08-13 07:34:21 +0200
commit41b77c4e0af45b0b8235e1ea52a1c9ec1ec4ed32 (patch)
tree5ef814d6d91f46257eca1ad37adecb0f4d340842
parentMerge pull request #1047 from bunnei/rgba16-uint (diff)
downloadyuzu-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
-rw-r--r--src/video_core/renderer_opengl/maxwell_to_gl.h1
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;