mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 09:08:14 +00:00
[810/906] gstglutils: use gl_vtable for glDeleteTextures
This commit is contained in:
parent
ba7c562a9e
commit
b54293266d
1 changed files with 2 additions and 1 deletions
|
@ -97,7 +97,8 @@ gst_gl_display_gen_texture_thread (GstGLDisplay * display, GLuint * pTexture,
|
|||
void
|
||||
gst_gl_display_del_texture_window_cb (GstGLDisplay * display)
|
||||
{
|
||||
glDeleteTextures (1, del_texture);
|
||||
const GstGLFuncs *gl = display->gl_vtable;
|
||||
gl->DeleteTextures (1, del_texture);
|
||||
}
|
||||
|
||||
/* called in the gl thread */
|
||||
|
|
Loading…
Reference in a new issue