mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 01:28:34 +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
|
void
|
||||||
gst_gl_display_del_texture_window_cb (GstGLDisplay * display)
|
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 */
|
/* called in the gl thread */
|
||||||
|
|
Loading…
Reference in a new issue