diff options
Diffstat (limited to 'src/glx/dri3_glx.c')
-rw-r--r-- | src/glx/dri3_glx.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx.c index 509160697f..b9076c12e1 100644 --- a/src/glx/dri3_glx.c +++ b/src/glx/dri3_glx.c @@ -283,6 +283,11 @@ dri3_create_context_attribs(struct glx_screen *base, &reset, error)) goto error_exit; + if (!dri2_check_no_error(flags, shareList)) { + *error = __DRI_CTX_ERROR_BAD_FLAG; + goto error_exit; + } + /* Check the renderType value */ if (!validate_renderType_against_config(config_base, render_type)) goto error_exit; |