diff options
author | Jakob Bornecrantz <[email protected]> | 2010-04-21 14:48:54 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2010-04-21 14:50:25 +0100 |
commit | f9f06f68fb37e2afeaa2bc1cb6d40b6669148f9c (patch) | |
tree | fbaf2f94e942520604f94a958275c38a3b3e599b | |
parent | 86d2383e771a4e53bbee2ce0b6f924f0438249b5 (diff) |
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.
-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 5fe30139386..eb475123198 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; } |