14 Sep
2022
14 Sep
'22
9:48 p.m.
On Thu Sep 15 02:47:40 2022 +0000, Zhiyi Zhang wrote:
As I said, sending WM_DISPLAYCHANGE with current_mode.dmBitsPerPel is probably wrong. Because on Windows, 8-bit and 16-bit display modes are emulated and Windows seems to use 32 instead when changing to 8-bit and 16-bit modes. Could you verify this? Also in winex11.drv, screen_bpp could be 24 so we can't directly use 32.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/844#note_8470