mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
gltransformation: fix DrawElements call for element array buffers
https://bugzilla.gnome.org/show_bug.cgi?id=749734
This commit is contained in:
parent
eba6f6b80f
commit
1d796508e8
1 changed files with 1 additions and 1 deletions
|
@ -590,7 +590,7 @@ gst_gl_transformation_callback (gpointer stuff)
|
||||||
_bind_buffer (transformation);
|
_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)
|
if (gl->GenVertexArrays)
|
||||||
gl->BindVertexArray (0);
|
gl->BindVertexArray (0);
|
||||||
|
|
Loading…
Reference in a new issue