Henri Verbeet : wined3d: Pass an IWineD3DBaseTextureImpl pointer to basetexture_apply_state_changes ().