wined3d: Check subresources for NULL during texture cleanup.
authorHenri Verbeet <hverbeet@codeweavers.com>
Mon, 7 Mar 2011 00:30:31 +0000 (01:30 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 7 Mar 2011 10:10:01 +0000 (11:10 +0100)
commit9059271442db4e75c7d5c9e39a061807b6e64a33
treefcf1573af43467f5fb178e061205edebf5c3303b
parentcc2cd5a525ba94656751e57b4a96988b813cc22c
wined3d: Check subresources for NULL during texture cleanup.

This fixes a regression introduced by
1de6adfbae7ac36c6649aab209d1a62a64e80465.
dlls/wined3d/cubetexture.c
dlls/wined3d/texture.c
dlls/wined3d/volumetexture.c