egl: Return EGL_BAD_MATCH for invalid profile attributes
authorMatt Turner <mattst88@gmail.com>
Tue, 9 Oct 2012 00:01:34 +0000 (17:01 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 10 Oct 2012 20:15:06 +0000 (13:15 -0700)
commit587d5db11d8047663201c5fb06a6b2feb5d55891
tree6f50a76b67119cbcc93be3c0c80a49a3719c5101
parent5090ce42e4437a2f9d1043309417b3fa930ee330
egl: Return EGL_BAD_MATCH for invalid profile attributes

Version 12 of the EGL_KHR_create_context spec changed this behavior.

NOTE: This is a candidate for the 9.0 branch
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/egl/main/eglcontext.c