Reverted the last change back to fix bug 3035
This commit is contained in:
@@ -87,7 +87,7 @@ _glapi_set_warning_func( _glapi_warning_func func )
|
||||
static GLboolean
|
||||
warn(void)
|
||||
{
|
||||
if ((WarnFlag || _mesa_getenv("MESA_DEBUG") || _mesa_getenv("LIBGL_DEBUG"))
|
||||
if ((WarnFlag || getenv("MESA_DEBUG") || getenv("LIBGL_DEBUG"))
|
||||
&& warning_func) {
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user