ddraw/tests: Fix compilation on systems that don't support nameless unions.
This commit is contained in:
parent
cb9e572611
commit
c5d45e8b88
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue