From e133ad2f81413f3f61d6c359fa5508bb04a39f74 Mon Sep 17 00:00:00 2001 From: Maarten Bosma Date: Mon, 20 Jun 2005 16:32:42 +0000 Subject: [PATCH] g++ seams to have a problem with this dummy union names. svn path=/trunk/; revision=16154 --- reactos/include/ddraw.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/reactos/include/ddraw.h b/reactos/include/ddraw.h index 77fd562d55f..18ed5620c31 100644 --- a/reactos/include/ddraw.h +++ b/reactos/include/ddraw.h @@ -760,33 +760,33 @@ typedef struct _DDPIXELFORMAT { DWORD dwAlphaBitDepth; /* C: how many bits for alpha channels*/ DWORD dwLuminanceBitCount; DWORD dwBumpBitCount; - } DUMMYUNIONNAME1; + }; union { DWORD dwRBitMask; /* 10: mask for red bit*/ DWORD dwYBitMask; /* 10: mask for Y bits*/ DWORD dwStencilBitDepth; DWORD dwLuminanceBitMask; DWORD dwBumpDuBitMask; - } DUMMYUNIONNAME2; + }; union { DWORD dwGBitMask; /* 14: mask for green bits*/ DWORD dwUBitMask; /* 14: mask for U bits*/ DWORD dwZBitMask; DWORD dwBumpDvBitMask; - } DUMMYUNIONNAME3; + }; union { DWORD dwBBitMask; /* 18: mask for blue bits*/ DWORD dwVBitMask; /* 18: mask for V bits*/ DWORD dwStencilBitMask; DWORD dwBumpLuminanceBitMask; - } DUMMYUNIONNAME4; + }; union { - DWORD dwRGBAlphaBitMask; /* 1C: mask for alpha channel */ - DWORD dwYUVAlphaBitMask; /* 1C: mask for alpha channel */ + DWORD dwRGBAlphaBitMask; /* 1C: mask for alpha channel */ + DWORD dwYUVAlphaBitMask; /* 1C: mask for alpha channel */ DWORD dwLuminanceAlphaBitMask; DWORD dwRGBZBitMask; /* 1C: mask for Z channel */ DWORD dwYUVZBitMask; /* 1C: mask for Z channel */ - } DUMMYUNIONNAME5; + }; /* 20: next structure */ } DDPIXELFORMAT,*LPDDPIXELFORMAT;