dxgi/tests: Release IDXGIFactory in test_swapchain_present().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c377644ca7
commit
4303464475
|
@ -3427,6 +3427,8 @@ static void test_swapchain_present(void)
|
||||||
refcount = IDXGIDevice_Release(device);
|
refcount = IDXGIDevice_Release(device);
|
||||||
ok(!refcount, "Device has %u references left.\n", refcount);
|
ok(!refcount, "Device has %u references left.\n", refcount);
|
||||||
DestroyWindow(swapchain_desc.OutputWindow);
|
DestroyWindow(swapchain_desc.OutputWindow);
|
||||||
|
refcount = IDXGIFactory_Release(factory);
|
||||||
|
ok(!refcount, "Factory has %u references left.\n", refcount);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void test_maximum_frame_latency(void)
|
static void test_maximum_frame_latency(void)
|
||||||
|
|
Loading…
Reference in New Issue