summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2018-08-13 17:51:21 +0200
committerGitHub <noreply@github.com>2018-08-13 17:51:21 +0200
commit9bf9c71c8808610042893c0cc8feaf3a82ade854 (patch)
tree077c9951185ab4a2d1e455428bfbe3ebf91903b3
parentMerge pull request #1032 from lioncash/sanitize (diff)
parentmaxwell_to_gl: Implement VertexAttribute::Size::Size_8. (diff)
downloadyuzu-9bf9c71c8808610042893c0cc8feaf3a82ade854.tar
yuzu-9bf9c71c8808610042893c0cc8feaf3a82ade854.tar.gz
yuzu-9bf9c71c8808610042893c0cc8feaf3a82ade854.tar.bz2
yuzu-9bf9c71c8808610042893c0cc8feaf3a82ade854.tar.lz
yuzu-9bf9c71c8808610042893c0cc8feaf3a82ade854.tar.xz
yuzu-9bf9c71c8808610042893c0cc8feaf3a82ade854.tar.zst
yuzu-9bf9c71c8808610042893c0cc8feaf3a82ade854.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;