On Thu Sep 19 13:11:52 2024 +0000, Rémi Bernon wrote:
This isn't what native AMD drivers seem to be doing, see https://testbot.winehq.org/JobDetails.pl?Key=148500&f101=exe64.report&am.... It would be interesting to write tests doing exactly the same wglChoosePixelFormatARB query as the game and see what is supposed to be returned.
The game calls `wglChoosePixelFormatARB()` with a non-NULL HDC, an integer attribute list of `{WGL_SUPPORT_OPENGL_ARB, TRUE, WGL_PIXEL_TYPE_ARB, WGL_TYPE_RGBA_ARB, 0}`, an empty float attribute list and max format count of 1024 according to apitrace
I'll try to add tests for this a bit later