From 28da6f4e307880326dd553f50fe3fff3b9be9f4f Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 23 Mar 2007 14:36:42 -0700 Subject: [PATCH] Record 3D state loss at EnterVT in last_3d value. last_3d set to LAST_3D_OTHER indicates that the 3D hardware has unknown state. --- src/i830_driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/i830_driver.c b/src/i830_driver.c index 624f986c..893f4918 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -2903,6 +2903,7 @@ I830EnterVT(int scrnIndex, int flags) /* Force invarient 3D state to be emitted */ *pI830->used3D = 1<<31; + pI830->last_3d = LAST_3D_OTHER; return TRUE; }