summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2005-09-08 09:31:04 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2005-09-08 09:31:04 +0000
commit521e357c1846960b48e83fb97f77025f6f91e638 (patch)
treeca253cbfef90ca675def716918e45ddb52d5a05b /src
parente8c46c897564f038744b9274949482568d654ecc (diff)
Fix a crash situation
Diffstat (limited to 'src')
-rw-r--r--src/i830_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index b4abf6bc..81fd5d0d 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -4869,7 +4869,7 @@ I830BIOSAdjustFrame(int scrnIndex, int x, int y, int flags)
x, pI830->xoffset, y, pI830->yoffset);
/* Sync the engine before adjust frame */
- if (!pI830->noAccel)
+ if (!pI830->noAccel && pI830->AccelInfoRec)
(*pI830->AccelInfoRec->Sync)(pScrn);
/* The i830M just happens to have some problems programming offsets via