ddraw/tests: Spelling fixes in comments and an ok() message.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
485840bc2d
commit
d489a6db65
|
@ -1126,7 +1126,7 @@ static void Direct3D1Test(void)
|
|||
/* Interface consistency check. */
|
||||
hr = IDirect3DDevice_GetDirect3D(Direct3DDevice1, &Direct3D_alt);
|
||||
ok(hr == D3D_OK, "IDirect3DDevice_GetDirect3D failed: %08x\n", hr);
|
||||
ok(Direct3D_alt == Direct3D1, "Direct3D1 struct pointer missmatch: %p != %p\n", Direct3D_alt, Direct3D1);
|
||||
ok(Direct3D_alt == Direct3D1, "Direct3D1 struct pointer mismatch: %p != %p\n", Direct3D_alt, Direct3D1);
|
||||
IDirect3D_Release(Direct3D_alt);
|
||||
|
||||
memset(&desc, 0, sizeof(desc));
|
||||
|
|
|
@ -10487,7 +10487,7 @@ static void test_ck_operation(void)
|
|||
hr = IDirectDrawSurface_Lock(dst, NULL, &surface_desc, DDLOCK_WAIT, NULL);
|
||||
ok(SUCCEEDED(hr), "Failed to lock surface, hr %#x.\n", hr);
|
||||
color = surface_desc.lpSurface;
|
||||
/* Ensure the desination was not changed. */
|
||||
/* Ensure the destination was not changed. */
|
||||
ok(color[0] == 0x55555555 && color[1] == 0x55555555 && color[2] == 0x55555555 &&
|
||||
color[3] == 0x55555555 && color[4] == 0x55555555 && color[5] == 0x55555555,
|
||||
"Got unexpected content %08x %08x %08x %08x %08x %08x.\n",
|
||||
|
|
|
@ -11825,7 +11825,7 @@ static void test_ck_operation(void)
|
|||
hr = IDirectDrawSurface2_Lock(dst, NULL, &surface_desc, DDLOCK_WAIT, NULL);
|
||||
ok(SUCCEEDED(hr), "Failed to lock surface, hr %#x.\n", hr);
|
||||
color = surface_desc.lpSurface;
|
||||
/* Ensure the desination was not changed. */
|
||||
/* Ensure the destination was not changed. */
|
||||
ok(color[0] == 0x55555555 && color[1] == 0x55555555 && color[2] == 0x55555555 &&
|
||||
color[3] == 0x55555555 && color[4] == 0x55555555 && color[5] == 0x55555555,
|
||||
"Got unexpected content %08x %08x %08x %08x %08x %08x.\n",
|
||||
|
|
|
@ -13204,7 +13204,7 @@ static void test_ck_operation(void)
|
|||
hr = IDirectDrawSurface4_Lock(dst, NULL, &surface_desc, DDLOCK_WAIT, NULL);
|
||||
ok(SUCCEEDED(hr), "Failed to lock surface, hr %#x.\n", hr);
|
||||
color = surface_desc.lpSurface;
|
||||
/* Ensure the desination was not changed. */
|
||||
/* Ensure the destination was not changed. */
|
||||
ok(color[0] == 0x55555555 && color[1] == 0x55555555 && color[2] == 0x55555555 &&
|
||||
color[3] == 0x55555555 && color[4] == 0x55555555 && color[5] == 0x55555555,
|
||||
"Got unexpected content %08x %08x %08x %08x %08x %08x.\n",
|
||||
|
|
|
@ -12877,7 +12877,7 @@ static void test_ck_operation(void)
|
|||
hr = IDirectDrawSurface7_Lock(dst, NULL, &surface_desc, DDLOCK_WAIT, NULL);
|
||||
ok(SUCCEEDED(hr), "Failed to lock surface, hr %#x.\n", hr);
|
||||
color = surface_desc.lpSurface;
|
||||
/* Ensure the desination was not changed. */
|
||||
/* Ensure the destination was not changed. */
|
||||
ok(color[0] == 0x55555555 && color[1] == 0x55555555 && color[2] == 0x55555555 &&
|
||||
color[3] == 0x55555555 && color[4] == 0x55555555 && color[5] == 0x55555555,
|
||||
"Got unexpected content %08x %08x %08x %08x %08x %08x.\n",
|
||||
|
|
Loading…
Reference in New Issue