From c2d4a93ed3cef44ad0c8348d4d3095af9cd10491 Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 8 Oct 2021 21:48:34 +0100 Subject: Use the correct macro for GLX_CONTEXT_PROFILE_MASK_ARB GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB is the correct counterpart to GLX_CONTEXT_CORE_PROFILE_BIT_ARB in this context. This has the same value as the GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB it replaces though, so this change should not actually affect anything. --- src/x11_gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/x11_gl.c b/src/x11_gl.c index 8c061cd..42f4051 100644 --- a/src/x11_gl.c +++ b/src/x11_gl.c @@ -149,7 +149,7 @@ puglX11GlCreate(PuglView* view) GLX_CONTEXT_PROFILE_MASK_ARB, (view->hints[PUGL_USE_COMPAT_PROFILE] - ? GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB + ? GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB : GLX_CONTEXT_CORE_PROFILE_BIT_ARB), 0}; -- cgit v1.2.1