summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-06-12 08:57:12 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-06-12 08:57:12 -0600
commitc1ba308e6499a6eb3f970b81a3f25d63da988d1c (patch)
tree2505a8db9bd6d2728ed648e616042b7440229b84 /src
parent0fbc4c51a07a5980956d62b3f70c46c65f6c7a57 (diff)
fix GLX_USE_TLS breakage, fix a warning
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/x11/glxapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/x11/glxapi.c b/src/mesa/drivers/x11/glxapi.c
index 5f11c90c13..309a0008d7 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
@@ -1169,7 +1169,7 @@ _glxapi_get_extensions(void)
#ifdef GLX_SGIX_pbuffer
"GLX_SGIX_pbuffer",
#endif
-#ifdef GLX_EXT_texture_from_pixmap,
+#ifdef GLX_EXT_texture_from_pixmap
"GLX_EXT_texture_from_pixmap",
#endif
NULL