Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com>
---
dlls/wined3d/surface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index e41909778a1..133055ba4d5 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -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;
--
2.11.0
Show replies by date