From: Zebediah Figura zfigura@codeweavers.com
This was probably added on the assumption that IDirect3DDevice8::CopyRects() behaves like the similar IDirect3DDevice9::UpdateSurface(), but it does not. --- dlls/d3d8/device.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/dlls/d3d8/device.c b/dlls/d3d8/device.c index b8193a83cbc..5113e11fb33 100644 --- a/dlls/d3d8/device.c +++ b/dlls/d3d8/device.c @@ -1346,9 +1346,6 @@ static HRESULT WINAPI d3d8_device_CopyRects(IDirect3DDevice8 *iface, TRACE("iface %p, src_surface %p, src_rects %p, rect_count %u, dst_surface %p, dst_points %p.\n", iface, src_surface, src_rects, rect_count, dst_surface, dst_points);
- /* Check that the source texture is in WINED3D_POOL_SYSTEM_MEM and the - * destination texture is in WINED3D_POOL_DEFAULT. */ - wined3d_mutex_lock(); wined3d_texture_get_sub_resource_desc(src->wined3d_texture, src->sub_resource_idx, &wined3d_desc); if (wined3d_desc.bind_flags & WINED3D_BIND_DEPTH_STENCIL)