diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-06-30 16:00:06 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-06-30 16:00:06 -0400 |
commit | ac4bd24a66c1bdda0293f770a3f891e2b88cc8ee (patch) | |
tree | a0af86e3d118ca15641cb10ab56a92e8e739e6f2 /src/radeon_exa_funcs.c | |
parent | 49a0ca19ee4109cdd39a43fbf4bedf3f0557d6ec (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.c | 5 |
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) { |