summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/imports.c
diff options
context:
space:
mode:
authorBen Crossman <[email protected]>2005-04-14 19:54:15 +0000
committerBen Crossman <[email protected]>2005-04-14 19:54:15 +0000
commit369404299c6e23ee0cc4b572c95e5533314064d7 (patch)
tree2828f42f0b7202362589231808f22094b751ef4d /src/mesa/main/imports.c
parentb2b01a60dbba4ebd130898509c14ca80a847a679 (diff)
A few getenv() that werent using the mesa wrapper version
Diffstat (limited to 'src/mesa/main/imports.c')
-rw-r--r--src/mesa/main/imports.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index cee54e526b4..50bc1510b1c 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -682,6 +682,8 @@ _mesa_getenv( const char *var )
{
#if defined(XFree86LOADER) && defined(IN_MODULE)
return xf86getenv(var);
+#elif defined(_XBOX)
+ return NULL;
#else
return getenv(var);
#endif