radeon: Fix debug output to filter out less critical messages instead of more critical.
authorPauli Nieminen <suokkos@gmail.com>
Tue, 1 Sep 2009 22:28:46 +0000 (01:28 +0300)
committerPauli Nieminen <suokkos@gmail.com>
Tue, 1 Sep 2009 23:04:10 +0000 (02:04 +0300)
src/mesa/drivers/dri/radeon/radeon_debug.h

index 3e1481dfa18bd7f2bcb7a79fcabdbd5c8a3fdf92..132e27351daa0048e51a84dda5d77c67cc2638d4 100644 (file)
@@ -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);
 }
 /*