Henri Verbeet : wined3d: Move the viewport to wined3d_state.