diff options
author | Pauli Nieminen <[email protected]> | 2009-09-02 01:28:46 +0300 |
---|---|---|
committer | Pauli Nieminen <[email protected]> | 2009-09-02 02:04:10 +0300 |
commit | 9f650e19dda3809e87c838b50b39669ea844a3b1 (patch) | |
tree | 5232dc1917e89384af62b3c570b36f40ec5d4c8d /src/mesa | |
parent | 7e4487ad5c1dcaa77df980bd6ef598ee880dc1c4 (diff) |
radeon: Fix debug output to filter out less critical messages instead of more critical.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_debug.h b/src/mesa/drivers/dri/radeon/radeon_debug.h index 3e1481dfa18..132e27351da 100644 --- a/src/mesa/drivers/dri/radeon/radeon_debug.h +++ b/src/mesa/drivers/dri/radeon/radeon_debug.h @@ -88,7 +88,7 @@ extern radeon_debug_type_t radeon_enabled_debug_types; static inline int radeon_is_debug_enabled(const radeon_debug_type_t type, const radeon_debug_level_t level) { - return RADEON_DEBUG_LEVEL <= level + return RADEON_DEBUG_LEVEL >= level && (type & radeon_enabled_debug_types); } /* |