From 0fb07764321b28b65781cd42a95408b61fb7e2ed Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Sun, 2 Mar 2014 11:48:54 +1100 Subject: [PATCH] [896/906] utils: use the vtable for deleting the texture --- gst-libs/gst/gl/gstglutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/gstglutils.c b/gst-libs/gst/gl/gstglutils.c index 2634547903..9d6c12be97 100644 --- a/gst-libs/gst/gl/gstglutils.c +++ b/gst-libs/gst/gl/gstglutils.c @@ -133,7 +133,7 @@ gst_gl_context_gen_texture (GstGLContext * context, GLuint * pTexture, void _del_texture (GstGLContext * context, guint * texture) { - glDeleteTextures (1, texture); + context->gl_vtable->DeleteTextures (1, texture); } void