diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_common.h | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_common_context.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common.h b/src/mesa/drivers/dri/radeon/radeon_common.h index dcfd5a67e2..aa6058c684 100644 --- a/src/mesa/drivers/dri/radeon/radeon_common.h +++ b/src/mesa/drivers/dri/radeon/radeon_common.h @@ -5,9 +5,11 @@ #include "radeon_dma.h" #include "radeon_texture.h" +#ifndef HAVE_LIBDRM_RADEON #ifndef RADEON_DEBUG_BO #define RADEON_DEBUG_BO 1 #endif +#endif #define TRI_CLEAR_COLOR_BITS (BUFFER_BIT_BACK_LEFT | \ BUFFER_BIT_FRONT_LEFT | \ diff --git a/src/mesa/drivers/dri/radeon/radeon_common_context.h b/src/mesa/drivers/dri/radeon/radeon_common_context.h index 233a150d42..07e60a28a4 100644 --- a/src/mesa/drivers/dri/radeon/radeon_common_context.h +++ b/src/mesa/drivers/dri/radeon/radeon_common_context.h @@ -560,8 +560,10 @@ extern int RADEON_DEBUG; #define RADEON_DEBUG 0 #endif +#ifndef HAVE_LIBDRM_RADEON #ifndef RADEON_DEBUG_BO #define RADEON_DEBUG_BO 1 #endif +#endif #endif |