diff options
author | Pauli Nieminen <[email protected]> | 2010-02-04 23:42:39 +0200 |
---|---|---|
committer | Pauli Nieminen <[email protected]> | 2010-02-04 23:59:20 +0200 |
commit | 66229ea1845a6c19fd292c16e6dafeb9be94173d (patch) | |
tree | f72a42c4613d021d868ce6f6149cc607d646c8a4 /src | |
parent | 42fa009e641c35a6543f2fb63b229c0adc8a30dc (diff) |
radeon: Make debugging automaticaly increase logging verbosity for debug build.
DEBUG preprocessor macro is set by configure script when
--enable-debug is passed for configure. Radeon then just
increase debugging verbosity if DEBUG is set in compile
time.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_debug.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_debug.h b/src/mesa/drivers/dri/radeon/radeon_debug.h index 26da31c1c48..ef8b9671ac9 100644 --- a/src/mesa/drivers/dri/radeon/radeon_debug.h +++ b/src/mesa/drivers/dri/radeon/radeon_debug.h @@ -47,7 +47,11 @@ typedef enum radeon_debug_levels { * errors. */ #ifndef RADEON_DEBUG_LEVEL -#define RADEON_DEBUG_LEVEL RADEON_VERBOSE +# ifdef DEBUG +# define RADEON_DEBUG_LEVEL RADEON_TRACE +# else +# define RADEON_DEBUG_LEVEL RADEON_VERBOSE +# endif #endif typedef enum radeon_debug_types { |