summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-09 00:18:50 +0200
committerGitHub <noreply@github.com>2018-08-09 00:18:50 +0200
commit096b04f1a44207f631d44f8d80f5affba1b9b520 (patch)
tree13f12b36a5bb14d84fedc950a336b9de888f8bec /src/video_core/renderer_opengl
parentMerge pull request #975 from bunnei/am-stub (diff)
parentmaxwell_to_gl: Implement VertexAttribute::Size::Size_8_8. (diff)
downloadyuzu-096b04f1a44207f631d44f8d80f5affba1b9b520.tar
yuzu-096b04f1a44207f631d44f8d80f5affba1b9b520.tar.gz
yuzu-096b04f1a44207f631d44f8d80f5affba1b9b520.tar.bz2
yuzu-096b04f1a44207f631d44f8d80f5affba1b9b520.tar.lz
yuzu-096b04f1a44207f631d44f8d80f5affba1b9b520.tar.xz
yuzu-096b04f1a44207f631d44f8d80f5affba1b9b520.tar.zst
yuzu-096b04f1a44207f631d44f8d80f5affba1b9b520.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-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 16b1bd606..500d4d4b1 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_8:
case Maxwell::VertexAttribute::Size::Size_8_8_8_8:
return GL_UNSIGNED_BYTE;
case Maxwell::VertexAttribute::Size::Size_16_16: