summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
Diffstat (limited to 'video/out')
-rw-r--r--video/out/gl_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_utils.c b/video/out/gl_utils.c
index cf3a24cc48..80ec840582 100644
--- a/video/out/gl_utils.c
+++ b/video/out/gl_utils.c
@@ -222,7 +222,7 @@ static void gl_vao_enable_attribs(struct gl_vao *vao)
gl->EnableVertexAttribArray(n);
gl->VertexAttribPointer(n, e->num_elems, e->type, e->normalized,
- vao->stride, (void*)e->offset);
+ vao->stride, (void *)(intptr_t)e->offset);
}
}