wined3d: Explicitly destroy the volume in texture3d_sub_resource_cleanup().
commit64a1fde181f6c26e80623e56c41f2768fc43f8fc
authorHenri Verbeet <hverbeet@codeweavers.com>
Tue, 19 Aug 2014 07:22:26 +0000 (19 09:22 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 19 Aug 2014 12:49:30 +0000 (19 14:49 +0200)
tree38c97b585c4362cb4f3ce3f599cf4bba42348e50
parentdf59ac1d0cae07095bc969f5c905416fc1865e8f
wined3d: Explicitly destroy the volume in texture3d_sub_resource_cleanup().

The texture always has the only reference to its subresources. This also means
we never have to set the container to NULL.
dlls/wined3d/texture.c
dlls/wined3d/volume.c
dlls/wined3d/wined3d_private.h