[PATCH 1/5] wined3d: Upload directly from the source surface in wined3d_surface_blt(), if possible.

Henri Verbeet hverbeet at codeweavers.com
Tue Oct 25 05:06:03 CDT 2011


On 2011-10-24 21:24, Henri Verbeet wrote:
> +                    if (SUCCEEDED(wined3d_device_update_surface(dst_surface->resource.device,
> +                            src_surface, &src_rect, dst_surface, &dst_point)))
Actually, this doesn't do what we want. If the destination surface is in
the default pool, wined3d_device_update_surface() will reject the
upload. Please use the attached patch instead, which calls
surface_upload_from_surface() directly.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wined3d-Upload-directly-from-the-source-surface-in-w.patch
Type: application/text
Size: 14290 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20111025/1f71b23e/attachment-0001.bin>


More information about the wine-patches mailing list