summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPauli Nieminen <[email protected]>2009-09-02 01:28:46 +0300
committerPauli Nieminen <[email protected]>2009-09-02 02:04:10 +0300
commit9f650e19dda3809e87c838b50b39669ea844a3b1 (patch)
tree5232dc1917e89384af62b3c570b36f40ec5d4c8d
parent7e4487ad5c1dcaa77df980bd6ef598ee880dc1c4 (diff)
radeon: Fix debug output to filter out less critical messages instead of more critical.
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_debug.h2
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);
}
/*