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

This commit is contained in:
Francois Gouget 2009-10-17 20:28:08 +02:00 committed by Alexandre Julliard
parent 9b89b85e5f
commit 323f163af4
1 changed files with 1 additions and 1 deletions

View File

@ -3220,7 +3220,7 @@ static void GetDCFormatTest(void)
ddsd.dwFlags = DDSD_CAPS | DDSD_WIDTH | DDSD_HEIGHT | DDSD_PIXELFORMAT;
ddsd.dwWidth = 64;
ddsd.dwHeight = 64;
ddsd.ddpfPixelFormat = testdata[i].fmt;
U4(ddsd).ddpfPixelFormat = testdata[i].fmt;
ddsd.ddsCaps.dwCaps = DDSCAPS_OFFSCREENPLAIN;
hr = IDirectDraw7_CreateSurface(dd7, &ddsd, &surface, NULL);