summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 0a747c1d..238460b7 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -3332,7 +3332,7 @@ I830LeaveVT(int scrnIndex, int flags)
}
#endif /* XF86DRI_MM */
- if (pI830->useEXA && IS_I965G(pI830))
+ if (!pI830->noAccel && IS_I965G(pI830))
gen4_render_state_cleanup(pScrn);
if (pI830->AccelInfoRec)
@@ -3381,7 +3381,7 @@ I830EnterVT(int scrnIndex, int flags)
/* Update the screen pixmap in case the buffer moved */
i830_update_front_offset(pScrn);
- if (pI830->useEXA && IS_I965G(pI830))
+ if (!pI830->noAccel && IS_I965G(pI830))
gen4_render_state_init(pScrn);
if (i830_check_error_state(pScrn)) {