Henri Verbeet : wined3d: Move texture states to wined3d_state.