From 2ff86f5765f8ff2a8c9188efa465e79c44738596 Mon Sep 17 00:00:00 2001 From: bunnei Date: Mon, 23 Jul 2018 23:12:14 -0400 Subject: [PATCH] maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt. --- src/video_core/renderer_opengl/maxwell_to_gl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/video_core/renderer_opengl/maxwell_to_gl.h b/src/video_core/renderer_opengl/maxwell_to_gl.h index e19c3b280f..eb823ea91c 100644 --- a/src/video_core/renderer_opengl/maxwell_to_gl.h +++ b/src/video_core/renderer_opengl/maxwell_to_gl.h @@ -56,6 +56,9 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) { return {}; } + case Maxwell::VertexAttribute::Type::UnsignedInt: + return GL_UNSIGNED_INT; + case Maxwell::VertexAttribute::Type::Float: return GL_FLOAT; }