summaryrefslogtreecommitdiff
path: root/src/i810_accel.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2007-03-07 15:49:47 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2007-03-07 15:49:47 +0000
commita5f0522b1d34236278861fe15bac2df099f0a2c7 (patch)
tree3e31df3257842191fcc15b8568ef2ff301ef93ae /src/i810_accel.c
parent81722a21d232fa6cfb11fbe3d984abab50e89bcc (diff)
Add some additional checks when XAA is enabled.
Diffstat (limited to 'src/i810_accel.c')
-rw-r--r--src/i810_accel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i810_accel.c b/src/i810_accel.c
index efbe2907..1f859b8a 100644
--- a/src/i810_accel.c
+++ b/src/i810_accel.c
@@ -597,7 +597,8 @@ I810RefreshRing(ScrnInfoPtr pScrn)
if (pI810->LpRing->space < 0)
pI810->LpRing->space += pI810->LpRing->mem.Size;
- pI810->AccelInfoRec->NeedToSync = TRUE;
+ if (pI810->AccelInfoRec)
+ pI810->AccelInfoRec->NeedToSync = TRUE;
}
/* Emit on gaining VT?