From a45fb20347d4474a2e3cacc8da3c2d3a465a3aed Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Jan 2023 20:09:48 -0500 Subject: Windows: Fix OpenGL profile hint interpretation --- src/win_gl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/win_gl.c b/src/win_gl.c index 532fd2b..444f87f 100644 --- a/src/win_gl.c +++ b/src/win_gl.c @@ -202,8 +202,8 @@ puglWinGlCreate(PuglView* view) WGL_CONTEXT_PROFILE_MASK_ARB, (view->hints[PUGL_USE_COMPAT_PROFILE] - ? WGL_CONTEXT_CORE_PROFILE_BIT_ARB - : WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB), + ? WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB + : WGL_CONTEXT_CORE_PROFILE_BIT_ARB), 0}; -- cgit v1.2.1