From a168caf5349b757873ad89d977772feaa7fb6e58 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Fri, 9 Oct 2009 10:32:26 -0400 Subject: r600 EXA: fix some compile warnings --- src/r600_exa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/r600_exa.c b/src/r600_exa.c index 54f32a1..47f1624 100644 --- a/src/r600_exa.c +++ b/src/r600_exa.c @@ -807,7 +807,7 @@ R600PrepareCopy(PixmapPtr pSrc, PixmapPtr pDst, if (accel_state->dst_mc_addr & 0xff) RADEON_FALLBACK(("Bad dst offset 0x%08x\n", accel_state->dst_mc_addr)); - +#if defined(XF86DRM_MODE) if (info->cs) { radeon_cs_space_reset_bos(info->cs); radeon_cs_space_add_persistent_bo(info->cs, accel_state->shaders_bo, @@ -818,6 +818,7 @@ R600PrepareCopy(PixmapPtr pSrc, PixmapPtr pDst, if (ret) RADEON_FALLBACK(("Not enough RAM to hw accel copy operation\n")); } +#endif /* return FALSE; */ -- cgit v1.2.3