From 5980fc35c9e2e25a5a53cb1b38245ad763885cca Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 21 Sep 2014 22:53:04 -0700 Subject: mesa: Drop _mesa_getenv() wrapper. Reviewed-by: Ian Romanick Reviewed-by: Jose Fonseca Reviewed-by: Emil Velikov --- src/mesa/tnl/t_vertex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/tnl/t_vertex.c') 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 } -- cgit v1.2.3