search for: dwgbitmask

Displaying 1 result from an estimated 1 matches for "dwgbitmask".

Did you mean: dwbbitmask
2010 Jan 07
3
Runaway 2 Wine Patch
...ddraw/utils.c 2009-05-18 09:01:34.000000000 +0200 *************** *** 411,416 **** --- 411,424 ---- { return WINED3DFMT_A8R3G3B2; } + + if( (DDPixelFormat->u2.dwRBitMask == 0xF800) && + (DDPixelFormat->u3.dwGBitMask == 0x001F) && + (DDPixelFormat->u4.dwBBitMask == 0x0) ) + { + return WINED3DFMT_R5G6B5; + } + ERR("16 bit RGB Pixel format does not match\n"); return WINED3DFMT_UNKNO...