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
master
parent
86d7bcb124
commit
00e86d4b73
2 changed files with 19 additions and 0 deletions
Loading…
Reference in New Issue