diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-07-03 19:37:28 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-07-13 18:01:46 +0200 |
commit | 60ebe97e2d5d27c2bf4213e201cef74503809cb6 (patch) | |
tree | 1e2e0756473c18d934496858869fc5297e4b6a68 | |
parent | 6900ff3c5e574881b1470e2363b200e99ab8bf3e (diff) |
Move variable declarations before statements to be C89 compatible
-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; \ |