Module: Mesa Branch: master Commit: 9f650e19dda3809e87c838b50b39669ea844a3b1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9f650e19dda3809e87c838b50b39669ea844a3b1
Author: Pauli Nieminen <[email protected]> Date: Wed Sep 2 01:28:46 2009 +0300 radeon: Fix debug output to filter out less critical messages instead of more critical. --- 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 3e1481d..132e273 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); } /* _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
