Allow specifying version number when creating OpenGL context using
EGL_KHR_create_context.
Bug:
29191048
Change-Id: Ia827f8b1ba69c0695943d34f43255d4153780bbf
log << TestLog::Section("Test6", "EGL_BAD_ATTRIBUTE is generated if attrib_list contains an invalid context attribute");
- if (isAPISupported(EGL_OPENGL_API))
+ if (isAPISupported(EGL_OPENGL_API) && !eglu::hasExtension(m_eglTestCtx.getLibrary(), display, "EGL_KHR_create_context"))
{
EGLConfig glConfig;
if (getConfig(&glConfig, FilterList() << renderable<EGL_OPENGL_BIT>))