Module: wine
Branch: master
Commit: fdd8c0748b7dfc8e63b8509d309f0814692e8dfe
URL: https://gitlab.winehq.org/wine/wine/-/commit/fdd8c0748b7dfc8e63b8509d309f08…
Author: Zebediah Figura <zfigura(a)codeweavers.com>
Date: Sat Jul 30 15:30:42 2022 -0500
d3d8: Remove an incorrect comment.
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)