mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +00:00
gloverlaycompositor: Also free the texcoord GL buffer
Fix a typo that was attempting to free the position GL buffer twice (without any consequences as there was a if (buffer) check) Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/561
This commit is contained in:
parent
8d1122013b
commit
13fc711eca
1 changed files with 2 additions and 2 deletions
|
@ -175,8 +175,8 @@ gst_gl_composition_overlay_free_vertex_buffer (GstGLContext * context,
|
|||
}
|
||||
|
||||
if (overlay->texcoord_buffer) {
|
||||
gl->DeleteBuffers (1, &overlay->position_buffer);
|
||||
overlay->position_buffer = 0;
|
||||
gl->DeleteBuffers (1, &overlay->texcoord_buffer);
|
||||
overlay->texcoord_buffer = 0;
|
||||
}
|
||||
|
||||
if (overlay->index_buffer) {
|
||||
|
|
Loading…
Reference in a new issue