glx: Fix compile.
authorStéphane Marchesin <marcheu@chromium.org>
Tue, 21 Jun 2011 00:18:32 +0000 (17:18 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Tue, 21 Jun 2011 00:19:00 +0000 (17:19 -0700)
src/glx/glxcurrent.c

index 6f048ae571cc995102b8ce427964d878d5397ad1..c92a2fd3cc28b26d6d5f5d07ec8555d2c9fe1f0a 100644 (file)
@@ -273,7 +273,7 @@ MakeContextCurrent(Display * dpy, GLXDrawable draw,
          return GL_FALSE;
       }
 
-      if (gc->thread_refcount == 0)
+      if (gc->thread_refcount == 0) {
          gc->currentDpy = dpy;
          gc->currentDrawable = draw;
          gc->currentReadable = read;