[vlc-devel] commit: GLX: inverted if ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Dec 12 20:40:47 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Dec 12 21:40:39 2009 +0200| [7b5c2b3d0d477005bb92262aa41e083c5609b624] | committer: Rémi Denis-Courmont 

GLX: inverted if

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7b5c2b3d0d477005bb92262aa41e083c5609b624
---

 modules/video_output/xcb/glx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/xcb/glx.c b/modules/video_output/xcb/glx.c
index ad9868c..eebedc3 100644
--- a/modules/video_output/xcb/glx.c
+++ b/modules/video_output/xcb/glx.c
@@ -290,7 +290,7 @@ static int Open (vlc_object_t *obj)
             goto error;
         }
 
-        if (glXMakeContextCurrent (dpy, sys->glwin, sys->glwin, sys->ctx))
+        if (!glXMakeContextCurrent (dpy, sys->glwin, sys->glwin, sys->ctx))
             goto error;
     }
     else




More information about the vlc-devel mailing list