wined3d: Unload resources on Uninit3D().
commit24a4503d6133de126c4e34911baf3b79d81e0bd7
authorHenri Verbeet <hverbeet@codeweavers.com>
Mon, 23 Mar 2009 12:54:34 +0000 (23 13:54 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 23 Mar 2009 13:07:48 +0000 (23 14:07 +0100)
treeac0157d2f6424dcc49a8f1a9bfac22816a77dd41
parentcaca4860290013b8fcf63a101d314346f870cbf4
wined3d: Unload resources on Uninit3D().

This should prevent destroying GL objects without a GL context. Eg. when a ddraw
surface has a GL texture and is released after a call to Uninit3D().
dlls/wined3d/device.c