diff options
author | Marek Olšák <[email protected]> | 2012-10-04 22:31:49 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-10-06 03:34:40 +0200 |
commit | 588263e7a75d9ff52db99b29f5dd4ca2b24258c5 (patch) | |
tree | 63aa70fdb947978adc9b729a7e6533b55f7b5dfe /src | |
parent | 733dba2a08765dddc478a015439ea2a684d5f2a0 (diff) |
gallium: allow debug helpers in the release build
No idea why this is #ifdef'd. Trace and Noop are definitely useful no matter
how Mesa is built.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/target-helpers/inline_debug_helper.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/auxiliary/target-helpers/inline_debug_helper.h b/src/gallium/auxiliary/target-helpers/inline_debug_helper.h index 43a724979b0..77c7cfd0c20 100644 --- a/src/gallium/auxiliary/target-helpers/inline_debug_helper.h +++ b/src/gallium/auxiliary/target-helpers/inline_debug_helper.h @@ -10,8 +10,6 @@ * one or more debug driver: rbug, trace. */ -#ifdef DEBUG - #ifdef GALLIUM_TRACE #include "trace/tr_public.h" #endif @@ -28,13 +26,9 @@ #include "noop/noop_public.h" #endif -#endif /* DEBUG */ - static INLINE struct pipe_screen * debug_screen_wrap(struct pipe_screen *screen) { -#ifdef DEBUG - #if defined(GALLIUM_RBUG) screen = rbug_screen_create(screen); #endif @@ -51,8 +45,6 @@ debug_screen_wrap(struct pipe_screen *screen) screen = noop_screen_create(screen); #endif -#endif /* DEBUG */ - return screen; } |