diff options
author | Adam Jackson <[email protected]> | 2017-11-07 11:36:53 -0500 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2017-11-09 09:35:30 -0500 |
commit | 5293b96b160b904c0e53cbce93679c3aa090f846 (patch) | |
tree | 9f5c119dacb8cfe7a150f7f4fd599199130a68cb /src/glx/dri2_glx.c | |
parent | 3f66d54a2a59b6f295671ea03aa9f83ce1aee34a (diff) |
glx: Implement GLX_EXT_no_config_context (v2)
This more or less ports EGL_KHR_no_config_context to GLX.
v2: Enable the extension only for those backends that support it.
Khronos: https://github.com/KhronosGroup/OpenGL-Registry/pull/102
Reviewed-by: Kenneth Graunke <[email protected]>
Signed-off-by: Adam Jackson <[email protected]>
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 0f44635725d..eeec4f0d603 100644 --- a/src/glx/dri2_glx.c +++ b/src/glx/dri2_glx.c @@ -1129,6 +1129,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) | |