Files
glfw/src
Camilla Löwy bc788a9333 WGL: Fix pixel format count in a Parallels VM
In a Parallels VM wglGetPixelFormatAttribivARB returns fewer pixel
formats than DescribePixelFormat.  This broke context creation on
Windows in Parallels since the changes in
2c0f34b60f.  The previous version of the
code worked accidentally.

This adds a workaround by iterating through the minimum of both counts.
It should have no effect when running on conforming implementations.

Tested on Parallels by @ dougbinks.

Closes #2191
Fixes #2406
Fixes #2467

This was adapted to 3.3-stable from
00e86d4b73.
2024-02-05 16:25:27 +01:00
..
2023-11-16 22:50:41 +01:00
2023-12-07 18:04:08 +01:00
2023-11-28 22:17:40 +01:00
2019-11-05 17:59:15 +01:00
2019-11-05 17:59:15 +01:00
2022-10-31 21:29:42 +01:00
2024-01-14 23:57:44 +01:00
2020-06-30 17:09:55 +02:00