mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 10:44:47 +00:00
ddraw/tests: Release ddraw after device in test_texture_wrong_caps().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54049
This commit is contained in:
parent
9e351472dd
commit
1a9c1d593b
1 changed files with 1 additions and 1 deletions
|
@ -15657,9 +15657,9 @@ static void test_texture_wrong_caps(const GUID *device_guid)
|
|||
IDirectDrawSurface_Release(rt);
|
||||
destroy_viewport(device, viewport);
|
||||
destroy_material(background);
|
||||
IDirectDraw2_Release(ddraw);
|
||||
refcount = IDirect3DDevice2_Release(device);
|
||||
ok(!refcount, "Device has %lu references left.\n", refcount);
|
||||
IDirectDraw2_Release(ddraw);
|
||||
DestroyWindow(window);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue