diff options
author | Adam Jackson <ajax@redhat.com> | 2017-11-14 15:13:06 -0500 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-04-23 21:15:19 +0000 |
commit | 01ba8a8d02ba04575860570ce51fc282c9b7866e (patch) | |
tree | f1dc70946ddb42220c3517e33f903a6dde7c33d1 /src/glx/dri2_glx.c | |
parent | f9d57207a365a896a771e3b3b62351749fbd99c6 (diff) |
glx: Implement GLX_EXT_no_config_context
This is the GLX counterpart to EGL_KHR_no_config_context. Contexts may
now be created without reference to an fbconfig, in which case it is
treated as compatible with any fbconfig (and thus any GLX drawable).
Khronos: https://github.com/KhronosGroup/OpenGL-Registry/pull/102
Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Acked-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8999>
Diffstat (limited to 'src/glx/dri2_glx.c')
-rw-r--r-- | src/glx/dri2_glx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c index 5d0d3094cf1..7719fa31ad3 100644 --- a/src/glx/dri2_glx.c +++ b/src/glx/dri2_glx.c @@ -1082,6 +1082,7 @@ dri2BindExtensions(struct dri2_screen *psc, struct glx_display * priv, __glXEnableDirectExtension(&psc->base, "GLX_ARB_create_context"); __glXEnableDirectExtension(&psc->base, "GLX_ARB_create_context_profile"); + __glXEnableDirectExtension(&psc->base, "GLX_EXT_no_config_context"); if ((mask & ((1 << __DRI_API_GLES) | (1 << __DRI_API_GLES2) | |