summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86-64/x86-64.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/x86-64/x86-64.c')
-rw-r--r--src/mesa/x86-64/x86-64.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/mesa/x86-64/x86-64.c b/src/mesa/x86-64/x86-64.c
index ac176ef328e..10564d91895 100644
--- a/src/mesa/x86-64/x86-64.c
+++ b/src/mesa/x86-64/x86-64.c
@@ -64,17 +64,7 @@ extern void _mesa_x86_64_transform_points4_2d( XFORM_ARGS );
#ifdef USE_X86_64_ASM
static void message( const char *msg )
{
- GLboolean debug;
-#ifdef DEBUG
- debug = GL_TRUE;
-#else
- if ( _mesa_getenv( "MESA_DEBUG" ) ) {
- debug = GL_TRUE;
- } else {
- debug = GL_FALSE;
- }
-#endif
- if ( debug ) {
+ if (_mesa_getenv("MESA_DEBUG")) {
_mesa_debug( NULL, "%s", msg );
}
}