ddraw/tests: Fix a typo.
This commit is contained in:
parent
c82aa505e9
commit
8c2416941e
|
@ -2370,7 +2370,7 @@ static void SizeTest(void)
|
||||||
desc.ddsCaps.dwCaps |= DDSCAPS_OFFSCREENPLAIN;
|
desc.ddsCaps.dwCaps |= DDSCAPS_OFFSCREENPLAIN;
|
||||||
desc.dwWidth = 128;
|
desc.dwWidth = 128;
|
||||||
ret = IDirectDraw_CreateSurface(lpDD, &desc, &dsurface, NULL);
|
ret = IDirectDraw_CreateSurface(lpDD, &desc, &dsurface, NULL);
|
||||||
ok(ret == DDERR_INVALIDPARAMS, "Creating an offscreen plain surface without hight info returned %08x\n", ret);
|
ok(ret == DDERR_INVALIDPARAMS, "Creating an offscreen plain surface without height info returned %08x\n", ret);
|
||||||
if(dsurface)
|
if(dsurface)
|
||||||
{
|
{
|
||||||
IDirectDrawSurface_Release(dsurface);
|
IDirectDrawSurface_Release(dsurface);
|
||||||
|
|
Loading…
Reference in New Issue