0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00

Enable GL vertex attribute normalization

Fixes GL vertex color attributes
This commit is contained in:
Palana 2014-05-02 00:32:24 +02:00
parent 5e2d283b9c
commit 824ff961d0

View File

@ -221,7 +221,7 @@ static bool load_vb_buffer(struct shader_attrib *attrib,
if (!gl_bind_buffer(GL_ARRAY_BUFFER, buffer))
return false;
glVertexAttribPointer(attrib->attrib, width, type, GL_FALSE, 0, 0);
glVertexAttribPointer(attrib->attrib, width, type, GL_TRUE, 0, 0);
if (!gl_success("glVertexAttribPointer"))
success = false;