Henri Verbeet : wined3d: Properly reset the stateblock.