summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStéphane Marchesin <[email protected]>2011-06-20 17:18:32 -0700
committerStéphane Marchesin <[email protected]>2011-06-20 17:19:00 -0700
commit75be6b76eef00352195220a4beefbc7ca0b76453 (patch)
treeb8c2a1dc735d96ad775edbca5eedee65f166d34d /src
parent649d03d54d2b508bc6144fed41cedf7aa9ad0be5 (diff)
glx: Fix compile.
Diffstat (limited to 'src')
-rw-r--r--src/glx/glxcurrent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glxcurrent.c b/src/glx/glxcurrent.c
index 6f048ae571c..c92a2fd3cc2 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;