d3d9/tests: Destroy the window after we're done with it in test_reset().

oldstable
Henri Verbeet 2011-05-02 22:16:36 +02:00 committed by Alexandre Julliard
parent 0116af3703
commit 02f0d82d24
1 changed files with 1 additions and 0 deletions

View File

@ -1229,6 +1229,7 @@ cleanup:
ok(!refcount, "Device has %u references left.\n", refcount);
}
if (pD3d) IDirect3D9_Release(pD3d);
if (hwnd) DestroyWindow(hwnd);
}
/* Test adapter display modes */