From 295d3104fb03df1c95686e97afb880a5769a3e15 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; }