diff options
author | Brian Paul <[email protected]> | 2002-10-14 17:08:17 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-10-14 17:08:17 +0000 |
commit | 60b6e4fd7e85ca0ad1c4ab22433b745bf97e9280 (patch) | |
tree | 5368e3158654b0d3d52a828ea517909635b5e267 /src/mesa/main/imports.c | |
parent | 795ae30787e6fd9413a495586edf4973e4987417 (diff) |
context-related cleanups (ex: _mesa_notifySwapBuffers instead of _mesa_swapbuffers)
Diffstat (limited to 'src/mesa/main/imports.c')
-rw-r--r-- | src/mesa/main/imports.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index bd62f279aad..c3783c624b9 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -1,4 +1,4 @@ -/* $Id: imports.c,v 1.18 2002/08/03 16:19:20 kschultz Exp $ */ +/* $Id: imports.c,v 1.19 2002/10/14 17:08:21 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -84,12 +84,11 @@ static char * CAPI _mesa_getenv(__GLcontext *gc, const char *var) { (void) gc; -/* Whacko XFree86 macro: - */ -#ifdef getenv -#undef getenv -#endif +#ifdef XFree86LOADER + return xf86getenv(var); +#else return getenv(var); +#endif } |