commit | 369404299c6e23ee0cc4b572c95e5533314064d7 | [log] [tgz] |
---|---|---|
author | Ben Crossman <bencrossman@freedesktop.org> | Thu Apr 14 19:54:15 2005 +0000 |
committer | Ben Crossman <bencrossman@freedesktop.org> | Thu Apr 14 19:54:15 2005 +0000 |
tree | 2828f42f0b7202362589231808f22094b751ef4d | |
parent | b2b01a60dbba4ebd130898509c14ca80a847a679 [diff] [blame] |
A few getenv() that werent using the mesa wrapper version
diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c index 8ed8330..f5cd1c6 100644 --- a/src/mesa/glapi/glapi.c +++ b/src/mesa/glapi/glapi.c
@@ -87,7 +87,7 @@ 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; }