Displaying 1 result from an estimated 1 matches for "dwbbitmask".
2010 Jan 07
3
Runaway 2 Wine Patch
...****
--- 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_UNKNOWN;
The error message is for return WINED3DFMT_R5G6B5; in utils.c because...