diff options
author | Matt Turner <[email protected]> | 2014-09-21 22:53:04 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-09-24 09:58:43 -0700 |
commit | 5980fc35c9e2e25a5a53cb1b38245ad763885cca (patch) | |
tree | 2624aec99ec7acade9939fce8fa71cfc73841e73 /src/mesa/main/context.c | |
parent | 209eba42ebfc0108ad37b5a83631ed6c019a63c3 (diff) |
mesa: Drop _mesa_getenv() wrapper.
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 53fb9c6e5f9..9cca39e5060 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1090,10 +1090,10 @@ _mesa_initialize_context(struct gl_context *ctx, ctx->CurrentDispatch = ctx->OutsideBeginEnd; ctx->FragmentProgram._MaintainTexEnvProgram - = (_mesa_getenv("MESA_TEX_PROG") != NULL); + = (getenv("MESA_TEX_PROG") != NULL); ctx->VertexProgram._MaintainTnlProgram - = (_mesa_getenv("MESA_TNL_PROG") != NULL); + = (getenv("MESA_TNL_PROG") != NULL); if (ctx->VertexProgram._MaintainTnlProgram) { /* this is required... */ ctx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE; @@ -1537,7 +1537,7 @@ handle_first_current(struct gl_context *ctx) * first time each context is made current we'll print some useful * information. */ - if (_mesa_getenv("MESA_INFO")) { + if (getenv("MESA_INFO")) { _mesa_print_info(ctx); } } |