Ken Thomases : wined3d: Call context_enter() before context_update_window( ) so it records the proper restore state.