summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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)