Commit a86aba4b authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent 8a9fdb56
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment