summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glapi.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/glapi/glapi.c
parentb2b01a60dbba4ebd130898509c14ca80a847a679 (diff)
A few getenv() that werent using the mesa wrapper version
Diffstat (limited to 'src/mesa/glapi/glapi.c')
-rw-r--r--src/mesa/glapi/glapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c
index 8ed833042b2..f5cd1c6ab38 100644
--- a/src/mesa/glapi/glapi.c
+++ b/src/mesa/glapi/glapi.c
@@ -87,7 +87,7 @@ _glapi_set_warning_func( _glapi_warning_func func )
static GLboolean
warn(void)
{
- if ((WarnFlag || getenv("MESA_DEBUG") || getenv("LIBGL_DEBUG"))
+ if ((WarnFlag || _mesa_getenv("MESA_DEBUG") || _mesa_getenv("LIBGL_DEBUG"))
&& warning_func) {
return GL_TRUE;
}