ddraw/tests: Add some missing DestroyWindow() calls.

This commit is contained in:
Henri Verbeet 2013-12-02 12:07:37 +01:00 committed by Alexandre Julliard
parent 8a9fdb567e
commit a86aba4bc0
3 changed files with 4 additions and 0 deletions

View File

@ -3373,6 +3373,7 @@ static void test_lighting_interface_versions(void)
IDirect3D2_Release(d3d);
ref = IDirectDraw2_Release(ddraw);
ok(ref == 0, "Ddraw object not properly released, refcount %u.\n", ref);
DestroyWindow(window);
}
static struct

View File

@ -3654,6 +3654,7 @@ static void test_lighting_interface_versions(void)
ok(ref == 0, "Device not properly released, refcount %u.\n", ref);
ref = IDirect3D3_Release(d3d);
ok(ref == 0, "D3d not properly released, refcount %u.\n", ref);
DestroyWindow(window);
}
static struct

View File

@ -1260,6 +1260,7 @@ static void test_texture_load_ckey(void)
IDirectDrawSurface7_Release(src);
IDirectDraw7_Release(ddraw);
IDirect3DDevice7_Release(device);
DestroyWindow(window);
}
static void test_zenable(void)
@ -3467,6 +3468,7 @@ static void test_lighting_interface_versions(void)
IDirectDrawSurface7_Release(rt);
ref = IDirect3DDevice7_Release(device);
ok(ref == 0, "Device not properly released, refcount %u.\n", ref);
DestroyWindow(window);
}
static struct