Mesa (main): wgl: support GL 4.6
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Apr 21 19:44:24 UTC 2022
Module: Mesa
Branch: main
Commit: f8f5b5455ae17160fb979c6a16f5304461333ad5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8f5b5455ae17160fb979c6a16f5304461333ad5
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Thu Apr 21 15:13:09 2022 -0400
wgl: support GL 4.6
somehow we never supported anything above 4.5?
cc: mesa-stable
Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16085>
---
src/gallium/frontends/wgl/stw_ext_context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/frontends/wgl/stw_ext_context.c b/src/gallium/frontends/wgl/stw_ext_context.c
index a549c8cd2c4..99665685357 100644
--- a/src/gallium/frontends/wgl/stw_ext_context.c
+++ b/src/gallium/frontends/wgl/stw_ext_context.c
@@ -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) ||
More information about the mesa-commit
mailing list