mirror of
https://github.com/reactos/wine.git
synced 2025-02-23 14:24:13 +00:00
ddraw/tests: Fix some comma versus semi-colon mixups.
This commit is contained in:
parent
7f9756e1ea
commit
4f26fb0e0b
@ -3692,7 +3692,7 @@ static void test_surface_lock(void)
|
||||
|
||||
for (i = 0; i < sizeof(tests) / sizeof(*tests); i++)
|
||||
{
|
||||
memset(&ddsd, 0, sizeof(ddsd)),
|
||||
memset(&ddsd, 0, sizeof(ddsd));
|
||||
ddsd.dwSize = sizeof(ddsd);
|
||||
ddsd.dwFlags = DDSD_CAPS;
|
||||
if (!(tests[i].caps & DDSCAPS_PRIMARYSURFACE))
|
||||
@ -3711,7 +3711,7 @@ static void test_surface_lock(void)
|
||||
hr = IDirectDraw_CreateSurface(ddraw, &ddsd, &surface, NULL);
|
||||
ok(SUCCEEDED(hr), "Failed to create surface, type %s, hr %#x.\n", tests[i].name, hr);
|
||||
|
||||
memset(&ddsd, 0, sizeof(ddsd)),
|
||||
memset(&ddsd, 0, sizeof(ddsd));
|
||||
ddsd.dwSize = sizeof(ddsd);
|
||||
hr = IDirectDrawSurface_Lock(surface, NULL, &ddsd, DDLOCK_WAIT, NULL);
|
||||
ok(SUCCEEDED(hr), "Failed to lock surface, type %s, hr %#x.\n", tests[i].name, hr);
|
||||
|
@ -4374,7 +4374,7 @@ static void test_surface_lock(void)
|
||||
|
||||
for (i = 0; i < sizeof(tests) / sizeof(*tests); i++)
|
||||
{
|
||||
memset(&ddsd, 0, sizeof(ddsd)),
|
||||
memset(&ddsd, 0, sizeof(ddsd));
|
||||
ddsd.dwSize = sizeof(ddsd);
|
||||
ddsd.dwFlags = DDSD_CAPS;
|
||||
if (!(tests[i].caps & DDSCAPS_PRIMARYSURFACE))
|
||||
@ -4393,7 +4393,7 @@ static void test_surface_lock(void)
|
||||
hr = IDirectDraw2_CreateSurface(ddraw, &ddsd, &surface, NULL);
|
||||
ok(SUCCEEDED(hr), "Failed to create surface, type %s, hr %#x.\n", tests[i].name, hr);
|
||||
|
||||
memset(&ddsd, 0, sizeof(ddsd)),
|
||||
memset(&ddsd, 0, sizeof(ddsd));
|
||||
ddsd.dwSize = sizeof(ddsd);
|
||||
hr = IDirectDrawSurface_Lock(surface, NULL, &ddsd, DDLOCK_WAIT, NULL);
|
||||
ok(SUCCEEDED(hr), "Failed to lock surface, type %s, hr %#x.\n", tests[i].name, hr);
|
||||
|
@ -4972,7 +4972,7 @@ static void test_surface_lock(void)
|
||||
|
||||
for (i = 0; i < sizeof(tests) / sizeof(*tests); i++)
|
||||
{
|
||||
memset(&ddsd, 0, sizeof(ddsd)),
|
||||
memset(&ddsd, 0, sizeof(ddsd));
|
||||
ddsd.dwSize = sizeof(ddsd);
|
||||
ddsd.dwFlags = DDSD_CAPS;
|
||||
if (!(tests[i].caps & DDSCAPS_PRIMARYSURFACE))
|
||||
@ -4992,7 +4992,7 @@ static void test_surface_lock(void)
|
||||
hr = IDirectDraw4_CreateSurface(ddraw, &ddsd, &surface, NULL);
|
||||
ok(SUCCEEDED(hr), "Failed to create surface, type %s, hr %#x.\n", tests[i].name, hr);
|
||||
|
||||
memset(&ddsd, 0, sizeof(ddsd)),
|
||||
memset(&ddsd, 0, sizeof(ddsd));
|
||||
ddsd.dwSize = sizeof(ddsd);
|
||||
hr = IDirectDrawSurface4_Lock(surface, NULL, &ddsd, DDLOCK_WAIT, NULL);
|
||||
ok(SUCCEEDED(hr), "Failed to lock surface, type %s, hr %#x.\n", tests[i].name, hr);
|
||||
|
@ -4827,7 +4827,7 @@ static void test_surface_lock(void)
|
||||
goto done;
|
||||
}
|
||||
|
||||
memset(&ddsd, 0, sizeof(ddsd)),
|
||||
memset(&ddsd, 0, sizeof(ddsd));
|
||||
ddsd.dwSize = sizeof(ddsd);
|
||||
ddsd.dwFlags = DDSD_CAPS | DDSD_WIDTH | DDSD_HEIGHT;
|
||||
ddsd.dwWidth = 64;
|
||||
@ -4850,7 +4850,7 @@ static void test_surface_lock(void)
|
||||
if (!cubemap_supported && tests[i].caps2 & DDSCAPS2_CUBEMAP)
|
||||
continue;
|
||||
|
||||
memset(&ddsd, 0, sizeof(ddsd)),
|
||||
memset(&ddsd, 0, sizeof(ddsd));
|
||||
ddsd.dwSize = sizeof(ddsd);
|
||||
ddsd.dwFlags = DDSD_CAPS;
|
||||
if (!(tests[i].caps & DDSCAPS_PRIMARYSURFACE))
|
||||
@ -4870,7 +4870,7 @@ static void test_surface_lock(void)
|
||||
hr = IDirectDraw7_CreateSurface(ddraw, &ddsd, &surface, NULL);
|
||||
ok(SUCCEEDED(hr), "Failed to create surface, type %s, hr %#x.\n", tests[i].name, hr);
|
||||
|
||||
memset(&ddsd, 0, sizeof(ddsd)),
|
||||
memset(&ddsd, 0, sizeof(ddsd));
|
||||
ddsd.dwSize = sizeof(ddsd);
|
||||
hr = IDirectDrawSurface7_Lock(surface, NULL, &ddsd, DDLOCK_WAIT, NULL);
|
||||
ok(SUCCEEDED(hr), "Failed to lock surface, type %s, hr %#x.\n", tests[i].name, hr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user