Commit c5d45e8b authored by Dan Kegel's avatar Dan Kegel Committed by Alexandre Julliard

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

parent cb9e5726
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment