[Piglit] [PATCH 1/2] egl_khr_create_context: Clarify why attributes are rejected in GLES

Matt Turner mattst88 at gmail.com
Thu Oct 4 10:53:44 PDT 2012


---
 .../invalid-attribute-gles.c                       |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/egl/spec/egl_khr_create_context/invalid-attribute-gles.c b/tests/egl/spec/egl_khr_create_context/invalid-attribute-gles.c
index 8c7e919..d3e030c 100644
--- a/tests/egl/spec/egl_khr_create_context/invalid-attribute-gles.c
+++ b/tests/egl/spec/egl_khr_create_context/invalid-attribute-gles.c
@@ -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,
-- 
1.7.8.6



More information about the Piglit mailing list