diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-05-26 10:33:23 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-05-26 10:33:23 -0400 |
commit | ced2f1b94c2bac8344f44e9474b1e363f65f4d3f (patch) | |
tree | 2e296e83f1d1bcab56edca4c33ff3e38f4d1e855 /src | |
parent | b52cdb81e2a0f7109e754daa4a02aced22aa995f (diff) |
fix build when HAVE_LIBDRM_RADEON is defined
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 |