summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2015-07-18 17:19:18 +1000
committerMatthew Waters <matthew@centricular.com>2015-07-18 18:18:22 +1000
commitd5996de5d7b2153f70edda60e993406137ee19b8 (patch)
tree4b23b7c06bb754fc53fc3391c07f53ef06929085 /tests
parent74711c214df4ab607ff69a428b8e690969a3949e (diff)
downloadgstreamer-plugins-bad-d5996de5d7b2153f70edda60e993406137ee19b8.tar.gz
glcontext: fix get_current_gl_api on x11/nvidia drivers
They require to get_proc_address some functions through the platform specific {glX,egl}GetProcAddress rather than the default GL library symbol lookup.
Diffstat (limited to 'tests')
-rw-r--r--tests/check/libs/gstglcontext.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/check/libs/gstglcontext.c b/tests/check/libs/gstglcontext.c
index d83d41d01..907d081ea 100644
--- a/tests/check/libs/gstglcontext.c
+++ b/tests/check/libs/gstglcontext.c
@@ -401,7 +401,9 @@ static void
_fill_context_info (GstGLContext * context, struct context_info *info)
{
info->handle = gst_gl_context_get_current_gl_context (info->platform);
- info->api = gst_gl_context_get_current_gl_api (&info->major, &info->minor);
+ info->api =
+ gst_gl_context_get_current_gl_api (info->platform, &info->major,
+ &info->minor);
}
GST_START_TEST (test_current_context)