summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86-64/x86-64.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/x86-64/x86-64.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/x86-64/x86-64.c')
-rw-r--r--src/mesa/x86-64/x86-64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/x86-64/x86-64.c b/src/mesa/x86-64/x86-64.c
index 49cbaf99be9..d484038ee78 100644
--- a/src/mesa/x86-64/x86-64.c
+++ b/src/mesa/x86-64/x86-64.c
@@ -64,7 +64,7 @@ extern void _mesa_x86_64_transform_points4_2d( XFORM_ARGS );
#ifdef USE_X86_64_ASM
static void message( const char *msg )
{
- if (_mesa_getenv("MESA_DEBUG")) {
+ if (getenv("MESA_DEBUG")) {
_mesa_debug( NULL, "%s", msg );
}
}
@@ -76,7 +76,7 @@ void _mesa_init_all_x86_64_transform_asm(void)
#ifdef USE_X86_64_ASM
unsigned int regs[4];
- if ( _mesa_getenv( "MESA_NO_ASM" ) ) {
+ if ( getenv( "MESA_NO_ASM" ) ) {
return;
}