From 41b77c4e0af45b0b8235e1ea52a1c9ec1ec4ed32 Mon Sep 17 00:00:00 2001
From: bunnei <bunneidev@gmail.com>
Date: Mon, 13 Aug 2018 01:18:13 -0400
Subject: [PATCH] maxwell_to_gl: Implement VertexAttribute::Size::Size_8.

- Used by Breath of the Wild.
---
 src/video_core/renderer_opengl/maxwell_to_gl.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/video_core/renderer_opengl/maxwell_to_gl.h b/src/video_core/renderer_opengl/maxwell_to_gl.h
index 679e5ceb27..83ea0cfc09 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;
-- 
GitLab