summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/radeon_exa_funcs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c
index d130802e..42a5ebc2 100644
--- a/src/radeon_exa_funcs.c
+++ b/src/radeon_exa_funcs.c
@@ -596,9 +596,10 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen)
info->accel_state->exa->pixmapOffsetAlign = RADEON_BUFFER_ALIGN + 1;
info->accel_state->exa->pixmapPitchAlign = 64;
+#ifdef EXA_HANDLES_PIXMAPS
if (info->cs)
- info->accel_state->exa->flags |= EXA_HANDLES_PIXMAPS;
-
+ info->accel_state->exa->flags |= EXA_HANDLES_PIXMAPS;
+#endif
#ifdef RENDER
if (info->RenderAccel) {