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:
Henri Verbeet 2018-11-01 11:07:29 +03:30 committed by Alexandre Julliard
parent 12d7bd5607
commit ae0f03bac5
1 changed files with 1 additions and 1 deletions

View File

@ -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");
return FALSE;