Henri Verbeet : wined3d: Directly call basetexture_apply_state_changes().