x86-64: Don't print "Initializing x86-64 optimizations" in debug builds.
[mesa.git] / src / mesa / x86-64 / x86-64.c
index ac176ef328edeb64c5c4ffc69956e24286863b33..10564d91895f4a86e52a14f4496e027ef8de380a 100644 (file)
@@ -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 );
    }
 }