diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/target-helpers/wrap_screen.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/target-helpers/wrap_screen.c b/src/gallium/auxiliary/target-helpers/wrap_screen.c index 5fe3013938..eb47512319 100644 --- a/src/gallium/auxiliary/target-helpers/wrap_screen.c +++ b/src/gallium/auxiliary/target-helpers/wrap_screen.c @@ -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; } |