summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-02-18 19:02:56 -0500
committerAlex Deucher <alexdeucher@gmail.com>2009-02-18 19:02:56 -0500
commitcf85d4a1d43a3209c7ca9307aede2c2c243f7130 (patch)
tree60006b423ad665fd217dcff29d59534f7df6ef4e /src
parent6545f0a2967414fa518a78440060b8b69c0146ee (diff)
R6xx/R7xx: reset 3D state after VT switch
Diffstat (limited to 'src')
-rw-r--r--src/radeon_driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index b4df090f..75feca49 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -5536,6 +5536,9 @@ Bool RADEONEnterVT(int scrnIndex, int flags)
if (info->accelOn && (info->ChipFamily < CHIP_FAMILY_R600))
RADEONEngineRestore(pScrn);
+ if (info->accelOn && info->accel_state)
+ info->accel_state->XInited3D = FALSE;
+
#ifdef XF86DRI
if (info->directRenderingEnabled) {
RADEONCP_START(pScrn, info);