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

This commit is contained in:
Dan Kegel 2011-09-12 14:16:27 -07:00 committed by Alexandre Julliard
parent cb9e572611
commit c5d45e8b88
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ static HRESULT WINAPI enum_z_fmt(DDPIXELFORMAT *fmt, void *ctx)
{
DDPIXELFORMAT *zfmt = ctx;
if(U1(fmt)->dwZBufferBitDepth > U1(zfmt)->dwZBufferBitDepth)
if(U1(*fmt).dwZBufferBitDepth > U1(*zfmt).dwZBufferBitDepth)
{
*zfmt = *fmt;
}