diff options
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r-- | src/i830_driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index 5a06079a..4bb9b81f 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -3307,7 +3307,7 @@ I830LeaveVT(int scrnIndex, int flags) } #endif /* XF86DRI_MM */ - if (IS_I965G(pI830)) + if (pI830->useEXA && IS_I965G(pI830)) gen4_render_state_cleanup(pScrn); if (pI830->AccelInfoRec) @@ -3356,7 +3356,7 @@ I830EnterVT(int scrnIndex, int flags) /* Update the screen pixmap in case the buffer moved */ i830_update_front_offset(pScrn); - if (IS_I965G(pI830)) + if (pI830->useEXA && IS_I965G(pI830)) gen4_render_state_init(pScrn); if (i830_check_error_state(pScrn)) { |