diff options
author | falkTX <falktx@falktx.com> | 2021-10-08 21:48:34 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-10-09 11:09:22 -0400 |
commit | c2d4a93ed3cef44ad0c8348d4d3095af9cd10491 (patch) | |
tree | 3bf4b125ea961334ecb002dbec26ce5a89997e1d /src | |
parent | fbf5ed0b43dc28bf1118c42f417c7f498db9379d (diff) | |
download | pugl-c2d4a93ed3cef44ad0c8348d4d3095af9cd10491.tar.gz pugl-c2d4a93ed3cef44ad0c8348d4d3095af9cd10491.tar.bz2 pugl-c2d4a93ed3cef44ad0c8348d4d3095af9cd10491.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/x11_gl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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}; |