wined3d: Don't take the upload path for blits to formats requiring conversion.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c50090cb6e
commit
a55d384264
|
@ -3716,6 +3716,8 @@ HRESULT wined3d_surface_blt(struct wined3d_surface *dst_surface, const RECT *dst
|
|||
TRACE("Not doing upload because of scaling.\n");
|
||||
else if (convert)
|
||||
TRACE("Not doing upload because of format conversion.\n");
|
||||
else if (dst_texture->resource.format->convert)
|
||||
TRACE("Not doing upload because the destination format needs conversion.\n");
|
||||
else
|
||||
{
|
||||
POINT dst_point = {dst_rect->left, dst_rect->top};
|
||||
|
|
Loading…
Reference in New Issue