summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-07-03 19:37:28 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2006-07-13 18:01:46 +0200
commit60ebe97e2d5d27c2bf4213e201cef74503809cb6 (patch)
tree1e2e0756473c18d934496858869fc5297e4b6a68
parent6900ff3c5e574881b1470e2363b200e99ab8bf3e (diff)
Move variable declarations before statements to be C89 compatible
-rw-r--r--src/radeon_exa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_exa.c b/src/radeon_exa.c
index ea2f9b2..9ef74e9 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; \