summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2018-08-08 18:18:50 -0400
committerGravatar GitHub2018-08-08 18:18:50 -0400
commit096b04f1a44207f631d44f8d80f5affba1b9b520 (patch)
tree13f12b36a5bb14d84fedc950a336b9de888f8bec /src
parentMerge pull request #975 from bunnei/am-stub (diff)
parentmaxwell_to_gl: Implement VertexAttribute::Size::Size_8_8. (diff)
downloadyuzu-096b04f1a44207f631d44f8d80f5affba1b9b520.tar.gz
yuzu-096b04f1a44207f631d44f8d80f5affba1b9b520.tar.xz
yuzu-096b04f1a44207f631d44f8d80f5affba1b9b520.zip
Merge pull request #979 from bunnei/vtx88
maxwell_to_gl: Implement VertexAttribute::Size::Size_8_8.
Diffstat (limited to 'src')
-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) {
27 case Maxwell::VertexAttribute::Type::UnsignedNorm: { 27 case Maxwell::VertexAttribute::Type::UnsignedNorm: {
28 28
29 switch (attrib.size) { 29 switch (attrib.size) {
30 case Maxwell::VertexAttribute::Size::Size_8_8:
30 case Maxwell::VertexAttribute::Size::Size_8_8_8_8: 31 case Maxwell::VertexAttribute::Size::Size_8_8_8_8:
31 return GL_UNSIGNED_BYTE; 32 return GL_UNSIGNED_BYTE;
32 case Maxwell::VertexAttribute::Size::Size_16_16: 33 case Maxwell::VertexAttribute::Size::Size_16_16: