On Thu Sep 15 02:48:47 2022 +0000, Zhiyi Zhang wrote:
Also in winex11.drv, screen_bpp could be 24 so we can't directly use 32.
There's already some tests in sysparams, though they aren't really making it obvious how Windows and this is supposed to work.
I may work on improving the tests later, but as far as I can tell: * 24-bit doesn't seem to be supported on Windows. * 8-bit and 16-bit modes are only succeeding in 32bit. * WM_DISPLAYCHANGE, when received, always has the bpp that was requested.