diff options
author | Mat M <mathew1800@gmail.com> | 2018-08-13 17:51:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-13 17:51:21 +0200 |
commit | 9bf9c71c8808610042893c0cc8feaf3a82ade854 (patch) | |
tree | 077c9951185ab4a2d1e455428bfbe3ebf91903b3 | |
parent | Merge pull request #1032 from lioncash/sanitize (diff) | |
parent | maxwell_to_gl: Implement VertexAttribute::Size::Size_8. (diff) | |
download | yuzu-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.h | 1 |
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; |