ddraw/tests: Fix a test failure on Win9x/WinMe.

This commit is contained in:
Paul Vriens 2009-10-21 10:21:55 +02:00 committed by Alexandre Julliard
parent ab9ee4a3fd
commit e1bf800ba5
1 changed files with 1 additions and 2 deletions

View File

@ -960,8 +960,7 @@ static BOOL D3D1_createObjects(void)
ddsd.ddsCaps.dwCaps = DDSCAPS_OFFSCREENPLAIN | DDSCAPS_3DDEVICE;
ddsd.dwWidth = 256;
ddsd.dwHeight = 256;
hr = IDirectDraw_CreateSurface(DirectDraw1, &ddsd, &Surface1, NULL);
ok(SUCCEEDED(hr), "IDirectDraw_CreateSurface returned %#x.\n", hr);
IDirectDraw_CreateSurface(DirectDraw1, &ddsd, &Surface1, NULL);
if (!Surface1) {
skip("DDSCAPS_3DDEVICE surface not available\n");
return FALSE;