ddraw: Destroy the swapchain in the DllMain() cleanup handler.
commitecb2859d3c3beedb0af7de26e4f21d664513cca2
authorHenri Verbeet <hverbeet@codeweavers.com>
Tue, 6 Dec 2011 21:57:45 +0000 (6 22:57 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 7 Dec 2011 16:49:55 +0000 (7 17:49 +0100)
treed1a50e2832ea5feec87f0552d56a5fd765c167f9
parent3f455832a338cde9190af9d2c0228aeca09a44d3
ddraw: Destroy the swapchain in the DllMain() cleanup handler.

This is mostly to make sure there aren't any resources still being referenced
by wined3d.
dlls/ddraw/main.c