~kphillisjr/piglit/trunk

Viewing all changes in revision 3386.

  • Committer: Chad Versace
  • Date: 2012-11-20 20:33:47 UTC
  • Revision ID: git-v1:ab25fb821e94047d079006af4e43ebf7b4144a46
egl_khr_create_context: Check eglChooseConfig's errors

If eglChooseConfig fails with EGL_BAD_ATTRIBUTE, then fail the test.
Piglit only requests valid attributes, therefore the error is incorrect.

Regresses test egl-create-context-verify-gl-flavor:gles3.0 on
mesa-5cf853669. Mesa fails to recoginize EGL_OPENGL_ES3_BIT_KHR despite
exposing the EGL_KHR_create_context extension.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: