mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
ddraw/tests: Fix compilation on systems that don't support nameless unions.
This commit is contained in:
parent
adb8fb115a
commit
0cc1c22d16
@ -3245,7 +3245,7 @@ static void test_rt_caps(void)
|
||||
if (test_data[i].pf)
|
||||
{
|
||||
surface_desc.dwFlags |= DDSD_PIXELFORMAT;
|
||||
U4(surface_desc).ddpfPixelFormat = *test_data[i].pf;
|
||||
surface_desc.ddpfPixelFormat = *test_data[i].pf;
|
||||
}
|
||||
if (test_data[i].caps_in & DDSCAPS_ZBUFFER)
|
||||
{
|
||||
|
@ -3850,7 +3850,7 @@ static void test_rt_caps(void)
|
||||
if (test_data[i].pf)
|
||||
{
|
||||
surface_desc.dwFlags |= DDSD_PIXELFORMAT;
|
||||
U4(surface_desc).ddpfPixelFormat = *test_data[i].pf;
|
||||
surface_desc.ddpfPixelFormat = *test_data[i].pf;
|
||||
}
|
||||
if (test_data[i].caps_in & DDSCAPS_ZBUFFER)
|
||||
{
|
||||
@ -3905,7 +3905,7 @@ static void test_rt_caps(void)
|
||||
if (test_data[i].pf)
|
||||
{
|
||||
surface_desc.dwFlags |= DDSD_PIXELFORMAT;
|
||||
U4(surface_desc).ddpfPixelFormat = *test_data[i].pf;
|
||||
surface_desc.ddpfPixelFormat = *test_data[i].pf;
|
||||
}
|
||||
if (test_data[i].caps_in & DDSCAPS_ZBUFFER)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user