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.
This commit is contained in:
Keith Packard 2007-03-23 14:36:42 -07:00
parent ab19439cf4
commit 28da6f4e30
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}