ddraw/tests: Fix a typo in ok() messages.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8bf36bda9a
commit
b27389ae08
|
@ -2186,7 +2186,7 @@ static void test_redundant_mode_set(void)
|
||||||
|
|
||||||
surface_desc.dwSize = sizeof(surface_desc);
|
surface_desc.dwSize = sizeof(surface_desc);
|
||||||
hr = IDirectDraw_GetDisplayMode(ddraw, &surface_desc);
|
hr = IDirectDraw_GetDisplayMode(ddraw, &surface_desc);
|
||||||
ok(SUCCEEDED(hr), "GetDipslayMode failed, hr %#x.\n", hr);
|
ok(SUCCEEDED(hr), "GetDisplayMode failed, hr %#x.\n", hr);
|
||||||
|
|
||||||
hr = IDirectDraw_SetDisplayMode(ddraw, surface_desc.dwWidth, surface_desc.dwHeight,
|
hr = IDirectDraw_SetDisplayMode(ddraw, surface_desc.dwWidth, surface_desc.dwHeight,
|
||||||
U1(surface_desc.ddpfPixelFormat).dwRGBBitCount);
|
U1(surface_desc.ddpfPixelFormat).dwRGBBitCount);
|
||||||
|
|
|
@ -2337,7 +2337,7 @@ static void test_redundant_mode_set(void)
|
||||||
|
|
||||||
surface_desc.dwSize = sizeof(surface_desc);
|
surface_desc.dwSize = sizeof(surface_desc);
|
||||||
hr = IDirectDraw2_GetDisplayMode(ddraw, &surface_desc);
|
hr = IDirectDraw2_GetDisplayMode(ddraw, &surface_desc);
|
||||||
ok(SUCCEEDED(hr), "GetDipslayMode failed, hr %#x.\n", hr);
|
ok(SUCCEEDED(hr), "GetDisplayMode failed, hr %#x.\n", hr);
|
||||||
|
|
||||||
hr = IDirectDraw2_SetDisplayMode(ddraw, surface_desc.dwWidth, surface_desc.dwHeight,
|
hr = IDirectDraw2_SetDisplayMode(ddraw, surface_desc.dwWidth, surface_desc.dwHeight,
|
||||||
U1(surface_desc.ddpfPixelFormat).dwRGBBitCount, 0, 0);
|
U1(surface_desc.ddpfPixelFormat).dwRGBBitCount, 0, 0);
|
||||||
|
|
|
@ -2522,7 +2522,7 @@ static void test_redundant_mode_set(void)
|
||||||
|
|
||||||
surface_desc.dwSize = sizeof(surface_desc);
|
surface_desc.dwSize = sizeof(surface_desc);
|
||||||
hr = IDirectDraw4_GetDisplayMode(ddraw, &surface_desc);
|
hr = IDirectDraw4_GetDisplayMode(ddraw, &surface_desc);
|
||||||
ok(SUCCEEDED(hr), "GetDipslayMode failed, hr %#x.\n", hr);
|
ok(SUCCEEDED(hr), "GetDisplayMode failed, hr %#x.\n", hr);
|
||||||
|
|
||||||
hr = IDirectDraw4_SetDisplayMode(ddraw, surface_desc.dwWidth, surface_desc.dwHeight,
|
hr = IDirectDraw4_SetDisplayMode(ddraw, surface_desc.dwWidth, surface_desc.dwHeight,
|
||||||
U1(U4(surface_desc).ddpfPixelFormat).dwRGBBitCount, 0, 0);
|
U1(U4(surface_desc).ddpfPixelFormat).dwRGBBitCount, 0, 0);
|
||||||
|
|
|
@ -2252,7 +2252,7 @@ static void test_redundant_mode_set(void)
|
||||||
|
|
||||||
surface_desc.dwSize = sizeof(surface_desc);
|
surface_desc.dwSize = sizeof(surface_desc);
|
||||||
hr = IDirectDraw7_GetDisplayMode(ddraw, &surface_desc);
|
hr = IDirectDraw7_GetDisplayMode(ddraw, &surface_desc);
|
||||||
ok(SUCCEEDED(hr), "GetDipslayMode failed, hr %#x.\n", hr);
|
ok(SUCCEEDED(hr), "GetDisplayMode failed, hr %#x.\n", hr);
|
||||||
|
|
||||||
hr = IDirectDraw7_SetDisplayMode(ddraw, surface_desc.dwWidth, surface_desc.dwHeight,
|
hr = IDirectDraw7_SetDisplayMode(ddraw, surface_desc.dwWidth, surface_desc.dwHeight,
|
||||||
U1(U4(surface_desc).ddpfPixelFormat).dwRGBBitCount, 0, 0);
|
U1(U4(surface_desc).ddpfPixelFormat).dwRGBBitCount, 0, 0);
|
||||||
|
|
Loading…
Reference in New Issue