summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 a73df4e0263..eaa5a726e53 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) {