<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - piglit spec/egl_khr_create_context/valid debug flag gles* fail"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91044#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - piglit spec/egl_khr_create_context/valid debug flag gles* fail"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91044">bug 91044</a>
from <span class="vcard"><a class="email" href="mailto:stu_dby@126.com" title="Boyan Ding <stu_dby@126.com>"> <span class="fn">Boyan Ding</span></a>
</span></b>
<pre>Found the exact reason why EGL_BAD_MATCH instead of EGL_BAD_ATTRIBUTE is given
for unknown flags in OpenGL ES context. src/mesa/drivers/dri/common/dri_util.c
gives __DRI_CTX_ERROR_BAD_FLAG when hitting unknown flag in OpenGL ES but gives
__DRI_CTX_ERROR_UNKNOWN_FLAG in OpenGL instead.
Looking into the history, some old comment seems to suggest that the error
value has something to do with GLX_EXT_create_context_es2_profile. I don't know
exactly what error should be given in that case.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>