summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <ystreet00@gmail.com>2014-03-02 11:48:54 +1100
committerMatthew Waters <ystreet00@gmail.com>2014-03-02 11:49:36 +1100
commit5d4ef5ad886d6450b22d08dda8d5ab0171e1a1e0 (patch)
tree8aeb1d7328530e854d00b964ad93b71e4179b38c
parentbf273057c962f19a960a5e51737c8d3702db5c6e (diff)
utils: use the vtable for deleting the texture
-rw-r--r--gst-libs/gst/gl/gstglutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/gl/gstglutils.c b/gst-libs/gst/gl/gstglutils.c
index 2634547..9d6c12b 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