From ced2f1b94c2bac8344f44e9474b1e363f65f4d3f Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Tue, 26 May 2009 10:33:23 -0400 Subject: [PATCH] fix build when HAVE_LIBDRM_RADEON is defined --- src/mesa/drivers/dri/radeon/radeon_common.h | 2 ++ src/mesa/drivers/dri/radeon/radeon_common_context.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/mesa/drivers/dri/radeon/radeon_common.h b/src/mesa/drivers/dri/radeon/radeon_common.h index dcfd5a67e23..aa6058c6842 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 233a150d425..07e60a28a46 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 -- 2.30.2