diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-10-09 10:32:26 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-10-09 10:33:16 -0400 |
commit | a168caf5349b757873ad89d977772feaa7fb6e58 (patch) | |
tree | be6413eb552a483e1865c552bbd1d2740105d2ae /src/r600_exa.c | |
parent | fb8dda2928bd0def2b34c8c8e414129e650d6eb5 (diff) |
r600 EXA: fix some compile warnings
Diffstat (limited to 'src/r600_exa.c')
-rw-r--r-- | src/r600_exa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/r600_exa.c b/src/r600_exa.c index 54f32a16..47f1624e 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; */ |