diff options
author | Dave Airlie <airlied@redhat.com> | 2009-12-17 14:29:04 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-21 08:09:11 +1000 |
commit | b065aec840b4c07eb1db156c1100ef4004634549 (patch) | |
tree | dac4385be5e68af838273780ab0de3eb7ed4226a /src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h | |
parent | 1071ad70f54aa31fcf96b3adc3911087854ab424 (diff) |
radeon/r600: use new libdrm_radeon api
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h b/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h index 4520a7d7d4..6c2648b6bd 100644 --- a/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h +++ b/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h @@ -18,8 +18,11 @@ #define RADEON_TILING_MACRO 0x1 #define RADEON_TILING_MICRO 0x2 #define RADEON_TILING_SWAP 0x4 + +#ifndef RADEON_TILING_SURFACE #define RADEON_TILING_SURFACE 0x8 /* this object requires a surface * when mapped - i.e. front buffer */ +#endif /* to be used to build locally in mesa with no libdrm bits */ #include "../radeon/radeon_bo_drm.h" |