[810/906] gstglutils: use gl_vtable for glDeleteTextures
This commit is contained in:
parent
ad3f202b34
commit
c806125e15
@ -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…
x
Reference in New Issue
Block a user