=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Allow copying 3D texture resources.

Alexandre Julliard julliard at winehq.org
Mon Apr 10 15:37:18 CDT 2017


Module: wine
Branch: master
Commit: 291146b1477aac931b5e9750f1f40b9876518291
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=291146b1477aac931b5e9750f1f40b9876518291

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Mon Apr 10 12:27:38 2017 +0200

wined3d: Allow copying 3D texture resources.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index ce02af4..8c3cd16 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -3887,12 +3887,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);
 




More information about the wine-cvs mailing list