summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-06-12 08:57:39 -0600
committerBrian <[email protected]>2007-06-12 08:57:39 -0600
commit277c5e57ed30c99cbd0646707889580de0c0879e (patch)
treea1dff3ccf36abb9eb324c348530622d72fac3f59
parentb3d62d5af58f5fcc4bc2cba9995ee1d26194c8ff (diff)
fix GLX_USE_TLS breakage
-rw-r--r--src/mesa/drivers/x11/glxapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/glxapi.c b/src/mesa/drivers/x11/glxapi.c
index 973f3940451..0fcd3d6c819 100644
--- a/src/mesa/drivers/x11/glxapi.c
+++ b/src/mesa/drivers/x11/glxapi.c
@@ -141,7 +141,7 @@ static void
SetCurrentContext(GLXContext c)
{
#if defined(GLX_USE_TLS)
- CurrentContext = context;
+ CurrentContext = c;
#elif defined(THREADS)
_glthread_SetTSD(&ContextTSD, c);
#else