summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJulien Isorce <julien.isorce@collabora.co.uk>2013-10-01 11:42:21 +0000
committerMatthew Waters <ystreet00@gmail.com>2014-03-15 18:37:02 +0100
commitca9c2cce1a78cfbc83f8f8ffd716c4831385c3cd (patch)
treec16f963ea519fab07090fdf1c4bff59d10a0d5bb /tests
parent979633ed1f50b3827b62934c5520eb7ece393d43 (diff)
downloadgstreamer-plugins-bad-ca9c2cce1a78cfbc83f8f8ffd716c4831385c3cd.tar.gz
[821/906] tests: fix test_share on GLESv2
Diffstat (limited to 'tests')
-rw-r--r--tests/check/libs/gstglcontext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/libs/gstglcontext.c b/tests/check/libs/gstglcontext.c
index 5f4ebb412..d5c5a8ecf 100644
--- a/tests/check/libs/gstglcontext.c
+++ b/tests/check/libs/gstglcontext.c
@@ -89,7 +89,7 @@ init (gpointer data)
fail_if (tex == 0, "failed to create texture");
#if GST_GL_HAVE_GLES2
- shader = gst_gl_shader_new (display);
+ shader = gst_gl_shader_new (context);
fail_if (shader == NULL, "failed to create shader object");
gst_gl_shader_set_vertex_source (shader, vertex_shader_str_gles2);