diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index f35d5df775d..134b6d204f9 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -3709,8 +3709,8 @@ HRESULT wined3d_surface_blt(struct wined3d_surface *dst_surface, const RECT *dst { blit_op = WINED3D_BLIT_OP_COLOR_BLIT_ALPHATEST; } - else if ((src_sub_resource->locations & WINED3D_LOCATION_SYSMEM) - && !(dst_sub_resource->locations & WINED3D_LOCATION_SYSMEM)) + else if ((src_sub_resource->locations & surface_simple_locations) + && !(dst_sub_resource->locations & surface_simple_locations)) { /* Upload */ if (scale)