summaryrefslogtreecommitdiff
path: root/src/radeon_exa_funcs.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-06-30 16:00:06 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-06-30 16:00:06 -0400
commitac4bd24a66c1bdda0293f770a3f891e2b88cc8ee (patch)
treea0af86e3d118ca15641cb10ab56a92e8e739e6f2 /src/radeon_exa_funcs.c
parent49a0ca19ee4109cdd39a43fbf4bedf3f0557d6ec (diff)
EXA: fix the build on servers without EXA_HANDLES_PIXMAPS
Diffstat (limited to 'src/radeon_exa_funcs.c')
-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) {