summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2004-05-08 07:48:13 +0000
committerEric Anholt <anholt@FreeBSD.org>2004-05-08 07:48:13 +0000
commitc753f367eb838030c90d9dd07e317c1d810fa3e3 (patch)
treeae19662fd29573359bb12d19fecd29e5b28fc395 /src/mesa
parentc94a96bae4225f6c31b5908f633703c03aee7079 (diff)
Don't mix variable definitions and other statements (fixed build on old
compiler).
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/unichrome/via_ioctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_ioctl.c b/src/mesa/drivers/dri/unichrome/via_ioctl.c
index a73df4e026..eaa5a726e5 100644
--- a/src/mesa/drivers/dri/unichrome/via_ioctl.c
+++ b/src/mesa/drivers/dri/unichrome/via_ioctl.c
@@ -2241,10 +2241,11 @@ int flush_sys(viaContextPtr vmesa, drm_via_flush_sys_t* buf)
else {
GLuint j;
GLuint *data;
- data = (GLuint *)vmesa->dmaAddr;
/*=* John Sheng [2003.12.9] Tuxracer & VQ *=*/
GLuint k;
GLuint *ES;
+
+ data = (GLuint *)vmesa->dmaAddr;
ES = pnEngBase;
if (i == 500000) {