dxgi/tests: Fix a window leak in test_inexact_modes().
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8915500868
commit
541437e2ce
|
@ -3630,6 +3630,7 @@ done:
|
|||
ok(!refcount, "Device has %u references left.\n", refcount);
|
||||
refcount = IDXGIFactory_Release(factory);
|
||||
ok(!refcount, "Factory has %u references left.\n", refcount);
|
||||
DestroyWindow(swapchain_desc.OutputWindow);
|
||||
}
|
||||
|
||||
static void test_create_factory(void)
|
||||
|
|
Loading…
Reference in New Issue