[Mesa-dev] [PATCH 1/4] egl: Add EGL_KHR_create_context_no_error support

Emil Velikov emil.l.velikov at gmail.com
Wed Jul 12 12:55:29 UTC 2017


Hi Grigori,

Thanks for cracking this down.

On 11 July 2017 at 23:26, Grigori Goronzy <greg at chown.ath.cx> wrote:

> @@ -312,6 +312,36 @@ _eglParseContextAttribList(_EGLContext *ctx, _EGLDisplay *dpy,
>              ctx->Flags |= EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE_BIT_KHR;
>           break;
>
> +      case EGL_CONTEXT_OPENGL_NO_ERROR_KHR:
> +         if (dpy->Version < 14) {
> +            err = EGL_BAD_ATTRIBUTE;
> +            break;
> +         }
This should be egl_version_too_old || extension_not_available.

-Emil


More information about the mesa-dev mailing list