ddraw: Correct D3DFMT_R5G6B5 in a test.
This commit is contained in:
parent
efba48ccfb
commit
0cea17037c
|
@ -407,8 +407,8 @@ static void enumdisplaymodes(void)
|
|||
ddsd.dwFlags = DDSD_PIXELFORMAT;
|
||||
ddsd.ddpfPixelFormat.dwFlags = DDPF_RGB;
|
||||
U1(ddsd.ddpfPixelFormat).dwRGBBitCount = 16;
|
||||
U2(ddsd.ddpfPixelFormat).dwRBitMask = 0x7C00;
|
||||
U3(ddsd.ddpfPixelFormat).dwGBitMask = 0x03E0;
|
||||
U2(ddsd.ddpfPixelFormat).dwRBitMask = 0xf800;
|
||||
U3(ddsd.ddpfPixelFormat).dwGBitMask = 0x07e0;
|
||||
U4(ddsd.ddpfPixelFormat).dwBBitMask = 0x001F;
|
||||
|
||||
rc = IDirectDraw_EnumDisplayModes(lpDD, 0, &ddsd, 0, enummodescallback_16bit);
|
||||
|
|
Loading…
Reference in New Issue