gltransformation: fix DrawElements call for element array buffers
https://bugzilla.gnome.org/show_bug.cgi?id=749734
This commit is contained in:
parent
dec8139e65
commit
9dcefacb3d
@ -590,7 +590,7 @@ gst_gl_transformation_callback (gpointer stuff)
|
||||
_bind_buffer (transformation);
|
||||
}
|
||||
|
||||
gl->DrawElements (GL_TRIANGLE_STRIP, 5, GL_UNSIGNED_SHORT, indices);
|
||||
gl->DrawElements (GL_TRIANGLE_STRIP, 5, GL_UNSIGNED_SHORT, 0);
|
||||
|
||||
if (gl->GenVertexArrays)
|
||||
gl->BindVertexArray (0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user