Commit 40cd9a7f authored by Vincent Pelletier's avatar Vincent Pelletier Committed by Alexandre Julliard

ddraw: Fix discrepancy in alpha mask for WINED3DFMT_B2G3R3A8_UNORM.

parent 1b50493b
...@@ -171,7 +171,7 @@ PixelFormat_WineD3DtoDD(DDPIXELFORMAT *DDPixelFormat, ...@@ -171,7 +171,7 @@ PixelFormat_WineD3DtoDD(DDPIXELFORMAT *DDPixelFormat,
DDPixelFormat->u2.dwRBitMask = 0x00E0; DDPixelFormat->u2.dwRBitMask = 0x00E0;
DDPixelFormat->u3.dwGBitMask = 0x001C; DDPixelFormat->u3.dwGBitMask = 0x001C;
DDPixelFormat->u4.dwBBitMask = 0x0003; DDPixelFormat->u4.dwBBitMask = 0x0003;
DDPixelFormat->u5.dwRGBAlphaBitMask = 0xF000; DDPixelFormat->u5.dwRGBAlphaBitMask = 0xFF00;
break; break;
case WINED3DFMT_B4G4R4X4_UNORM: case WINED3DFMT_B4G4R4X4_UNORM:
......
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