summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-10 18:17:49 +0200
committerbunnei <bunneidev@gmail.com>2018-08-10 18:47:00 +0200
commit6b0bc48a427043d887722b392c2e258d74134f4e (patch)
tree4b6c19beeef5bf2d69feeda0c9b1980e55d8333c
parentmaxwell_to_gl: Implement VertexAttribute::Size::Size_32_32_32. (diff)
downloadyuzu-6b0bc48a427043d887722b392c2e258d74134f4e.tar
yuzu-6b0bc48a427043d887722b392c2e258d74134f4e.tar.gz
yuzu-6b0bc48a427043d887722b392c2e258d74134f4e.tar.bz2
yuzu-6b0bc48a427043d887722b392c2e258d74134f4e.tar.lz
yuzu-6b0bc48a427043d887722b392c2e258d74134f4e.tar.xz
yuzu-6b0bc48a427043d887722b392c2e258d74134f4e.tar.zst
yuzu-6b0bc48a427043d887722b392c2e258d74134f4e.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 d7345e8a4..c439446b1 100644
--- a/src/video_core/renderer_opengl/maxwell_to_gl.h
+++ b/src/video_core/renderer_opengl/maxwell_to_gl.h
@@ -47,6 +47,7 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) {
switch (attrib.size) {
case Maxwell::VertexAttribute::Size::Size_32_32_32:
return GL_INT;
+ case Maxwell::VertexAttribute::Size::Size_8_8:
case Maxwell::VertexAttribute::Size::Size_8_8_8_8:
return GL_BYTE;
case Maxwell::VertexAttribute::Size::Size_16_16: