wined3d: Prefer bind flags over usage flags in ffp_blit_supported().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
12d7bd5607
commit
ae0f03bac5
|
@ -2016,7 +2016,7 @@ static BOOL ffp_blit_supported(enum wined3d_blit_op blit_op, const struct wined3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(dst_resource->usage & WINED3DUSAGE_RENDERTARGET))
|
if (!(dst_resource->bind_flags & WINED3D_BIND_RENDER_TARGET))
|
||||||
{
|
{
|
||||||
TRACE("Can only blit to render targets.\n");
|
TRACE("Can only blit to render targets.\n");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in New Issue