summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/opengl/gl_utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/opengl/gl_utils.c b/video/out/opengl/gl_utils.c
index aa00e5c165..9f81166404 100644
--- a/video/out/opengl/gl_utils.c
+++ b/video/out/opengl/gl_utils.c
@@ -139,6 +139,9 @@ static void gl_vao_enable_attribs(struct gl_vao *vao)
GLenum type = 0;
bool normalized = false;
switch (e->type) {
+ case RA_VARTYPE_INT:
+ type = GL_INT;
+ break;
case RA_VARTYPE_FLOAT:
type = GL_FLOAT;
break;