Skip to content
Snippets Groups Projects
Commit ae0f03ba authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard
Browse files

wined3d: Prefer bind flags over usage flags in ffp_blit_supported().

parent 12d7bd56
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment