[PATCH 2/7] wined3d: Allow copying 3D texture resources.

Józef Kucia jkucia at codeweavers.com
Mon Apr 10 05:27:38 CDT 2017


Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---

The partial support for 3D texture blits introduced by
986e3eebceb3d890a215eb2c641ea871f0d51820 should be enough for
wined3d_device_copy_resource().

---
 dlls/wined3d/device.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index bd07053..3d4fbb8 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -3901,12 +3901,6 @@ void CDECL wined3d_device_copy_resource(struct wined3d_device *device,
         return;
     }
 
-    if (dst_resource->type != WINED3D_RTYPE_TEXTURE_2D)
-    {
-        FIXME("Not implemented for %s resources.\n", debug_d3dresourcetype(dst_resource->type));
-        return;
-    }
-
     dst_texture = texture_from_resource(dst_resource);
     src_texture = texture_from_resource(src_resource);
 
-- 
2.10.2




More information about the wine-patches mailing list