wined3d: Explicitly destroy the surface in texture2d_sub_resource_cleanup().
commited230a426adbc5e376f9ce7f00c2113b19f3ea59
authorHenri Verbeet <hverbeet@codeweavers.com>
Tue, 19 Aug 2014 07:22:27 +0000 (19 09:22 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 19 Aug 2014 12:49:32 +0000 (19 14:49 +0200)
tree3dc578c211696a548db190c180f894bcdbbb8f38
parent64a1fde181f6c26e80623e56c41f2768fc43f8fc
wined3d: Explicitly destroy the surface in texture2d_sub_resource_cleanup().

Like volumes. We can do this now because we no longer have standalone
surfaces.
dlls/wined3d/surface.c
dlls/wined3d/texture.c
dlls/wined3d/wined3d_private.h