Re: [PATCH 2/5] ddraw: Implement copy_mipmap_chain() on top of wined3d_surface_blt().
On Sunday 30 October 2011 18:06:33 Henri Verbeet wrote:
+ if (FAILED(hr = wined3d_surface_blt(dest_level->wined3d_surface, &dst_rect, + src_level->wined3d_surface, &src_rect, 0, NULL, WINED3DTEXF_POINT))) Wouldn't wined3d_device_update_surface be a better match? IDirect3DDevice7::Load could probably be handled by wined3d_device_update_texture if it wasn't for color keys/palettes.
On 31 October 2011 15:04, Stefan Dösinger <stefandoesinger(a)gmx.at> wrote:
On Sunday 30 October 2011 18:06:33 Henri Verbeet wrote:
+ if (FAILED(hr = wined3d_surface_blt(dest_level->wined3d_surface, &dst_rect, + src_level->wined3d_surface, &src_rect, 0, NULL, WINED3DTEXF_POINT))) Wouldn't wined3d_device_update_surface be a better match? No, the patch actually removes that code.
participants (2)
-
Henri Verbeet -
Stefan Dösinger