targets: Don't check if we should use trace
Trace does its own checking, and it used the GALLIUM_TRACE variable as well, but expected a file and not a bool argument.
This commit is contained in:
parent
86d2383e77
commit
f9f06f68fb
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue