From b54293266df8642b59b5c1806313ed0638c38b3f Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Thu, 26 Sep 2013 14:46:16 +0100 Subject: [PATCH] [810/906] gstglutils: use gl_vtable for glDeleteTextures --- gst-libs/gst/gl/gstglutils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/gstglutils.c b/gst-libs/gst/gl/gstglutils.c index 403968292a..68b658ef63 100644 --- a/gst-libs/gst/gl/gstglutils.c +++ b/gst-libs/gst/gl/gstglutils.c @@ -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 */