Mesa (master): glx: Fix compile.

Stephane Marchesin marcheu at kemper.freedesktop.org
Tue Jun 21 00:19:21 UTC 2011


Module: Mesa
Branch: master
Commit: 75be6b76eef00352195220a4beefbc7ca0b76453
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=75be6b76eef00352195220a4beefbc7ca0b76453

Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Mon Jun 20 17:18:32 2011 -0700

glx: Fix compile.

---

 src/glx/glxcurrent.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glx/glxcurrent.c b/src/glx/glxcurrent.c
index 6f048ae..c92a2fd 100644
--- a/src/glx/glxcurrent.c
+++ b/src/glx/glxcurrent.c
@@ -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;




More information about the mesa-commit mailing list