summaryrefslogtreecommitdiff
path: root/src/i810_accel.c
diff options
context:
space:
mode:
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?