aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vertex.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-09-21 22:53:04 -0700
committerMatt Turner <[email protected]>2014-09-24 09:58:43 -0700
commit5980fc35c9e2e25a5a53cb1b38245ad763885cca (patch)
tree2624aec99ec7acade9939fce8fa71cfc73841e73 /src/mesa/tnl/t_vertex.c
parent209eba42ebfc0108ad37b5a83631ed6c019a63c3 (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/tnl/t_vertex.c')
-rw-r--r--src/mesa/tnl/t_vertex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vertex.c b/src/mesa/tnl/t_vertex.c
index 421bae2b818..90b97a092ba 100644
--- a/src/mesa/tnl/t_vertex.c
+++ b/src/mesa/tnl/t_vertex.c
@@ -543,7 +543,7 @@ void _tnl_init_vertices( struct gl_context *ctx,
vtx->codegen_emit = NULL;
#ifdef USE_SSE_ASM
- if (!_mesa_getenv("MESA_NO_CODEGEN"))
+ if (!getenv("MESA_NO_CODEGEN"))
vtx->codegen_emit = _tnl_generate_sse_emit;
#endif
}