ddraw/tests: Fix compilation on systems that don't support nameless unions.

This commit is contained in:
Francois Gouget 2013-10-01 08:13:14 +02:00 committed by Alexandre Julliard
parent adb8fb115a
commit 0cc1c22d16
2 changed files with 3 additions and 3 deletions

View File

@ -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)
{

View File

@ -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)
{