From ac4bd24a66c1bdda0293f770a3f891e2b88cc8ee Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Tue, 30 Jun 2009 16:00:06 -0400 Subject: EXA: fix the build on servers without EXA_HANDLES_PIXMAPS --- src/radeon_exa_funcs.c | 5 +++-- 1 file 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) { -- cgit v1.2.3