targets: Don't check if we should use trace
authorJakob Bornecrantz <jakob@vmware.com>
Wed, 21 Apr 2010 13:48:54 +0000 (14:48 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Wed, 21 Apr 2010 13:50:25 +0000 (14:50 +0100)
Trace does its own checking, and it used the GALLIUM_TRACE variable
as well, but expected a file and not a bool argument.

src/gallium/auxiliary/target-helpers/wrap_screen.c

index 5fe30139386f760b07a06f436cc3d99fc5a907b9..eb475123198221b71e4fc0f39f03ec75af7d7865 100644 (file)
@@ -53,9 +53,8 @@ gallium_wrap_screen( struct pipe_screen *screen )
       screen = identity_screen_create(screen);
    }
 
-   if (debug_get_bool_option("GALLIUM_TRACE", FALSE)) {
-      screen = trace_screen_create( screen );
-   }
+   /* Trace does its own checking if it should run */
+   screen = trace_screen_create(screen);
 
    return screen;
 }