Commit 0d0b545f authored by Matt Turner's avatar Matt Turner

egl_khr_create_context: Clarify why attributes are rejected in GLES

Reviewed-by: default avatarChad Versace <chad.versace@linux.intel.com>
parent dbcad164
......@@ -27,8 +27,8 @@ static bool try_attribute(int attribute)
{
/* If the attribute is EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_KHR
* or EGL_CONTEXT_OPENGL_PROFILE_MASK_KHR, use a valid value for that
* attribute. This ensures that the attribute is rejected for the
* correct reason.
* attribute. This ensures that the attribute is rejected for the
* correct reason that GLES doesn't support profiles.
*/
const EGLint attribs[] = {
attribute,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment