Browse Source

Reverted the last change back to fix bug 3035

tags/mesa_20050504
Ben Crossman 20 years ago
parent
commit
d8aa5ffed5
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      src/mesa/glapi/glapi.c
  2. 1
    1
      src/mesa/tnl/t_context.c

+ 1
- 1
src/mesa/glapi/glapi.c View File

@@ -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;
}

+ 1
- 1
src/mesa/tnl/t_context.c View File

@@ -82,7 +82,7 @@ _tnl_CreateContext( GLcontext *ctx )
return GL_FALSE;
}

if (_mesa_getenv("MESA_CODEGEN"))
if (getenv("MESA_CODEGEN"))
tnl->AllowCodegen = GL_TRUE;

/* Initialize the VB.

Loading…
Cancel
Save