diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_exa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_exa.c b/src/radeon_exa.c index ea2f9b25..9ef74e99 100644 --- a/src/radeon_exa.c +++ b/src/radeon_exa.c @@ -293,8 +293,8 @@ static void RADEONFinishAccess(PixmapPtr pPix, int index) #define RADEON_SWITCH_TO_2D() \ do { \ - BEGIN_ACCEL(1); \ CARD32 wait_until = 0; \ + BEGIN_ACCEL(1); \ switch (info->engineMode) { \ case EXA_ENGINEMODE_UNKNOWN: \ wait_until |= RADEON_WAIT_HOST_IDLECLEAN | RADEON_WAIT_2D_IDLECLEAN; \ @@ -310,8 +310,8 @@ do { \ #define RADEON_SWITCH_TO_3D() \ do { \ - BEGIN_ACCEL(1); \ CARD32 wait_until = 0; \ + BEGIN_ACCEL(1); \ switch (info->engineMode) { \ case EXA_ENGINEMODE_UNKNOWN: \ wait_until |= RADEON_WAIT_HOST_IDLECLEAN | RADEON_WAIT_3D_IDLECLEAN; \ |