ddraw/tests: Add some missing DestroyWindow() calls.
This commit is contained in:
parent
8a9fdb567e
commit
a86aba4bc0
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue