wgl: support GL 4.6

somehow we never supported anything above 4.5?

cc: mesa-stable

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16085>
This commit is contained in:
Mike Blumenkrantz 2022-04-21 15:13:09 -04:00 committed by Marge Bot
parent 64d5f71bbc
commit f8f5b5455a
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ wglCreateContextAttribsARB(HDC hDC, HGLRC hShareContext, const int *attribList)
((majorVersion == 1 && minorVersion > 5) ||
(majorVersion == 2 && minorVersion > 1) ||
(majorVersion == 3 && minorVersion > 3) ||
(majorVersion == 4 && minorVersion > 5) ||
(majorVersion == 4 && minorVersion > 6) ||
majorVersion > 4)) ||
(profileMask == WGL_CONTEXT_ES_PROFILE_BIT_EXT &&
((majorVersion == 1 && minorVersion > 1) ||