Henri Verbeet : wined3d: Introduce wined3d_state_reset().