summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/glsink/glimagesink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/glsink/glimagesink.c b/sys/glsink/glimagesink.c
index e94bf1ae..73ed7aa6 100644
--- a/sys/glsink/glimagesink.c
+++ b/sys/glsink/glimagesink.c
@@ -701,7 +701,7 @@ gst_glimagesink_xcontext_get (GstGLImageSink * glimagesink)
/* create a GLX context */
xcontext->glx =
- glXCreateContext (xcontext->disp, xcontext->visualinfo, 0, GL_TRUE);
+ glXCreateContext (xcontext->disp, xcontext->visualinfo, NULL, GL_TRUE);
if (glXIsDirect (xcontext->disp, xcontext->glx))
printf ("Congrats, you have Direct Rendering!\n");