- An OpenGL ES 3.2 context is created first and falls back to a 3.1 context.
Change-Id: I17fb110715e96faf6a96bf6c3371f125f0c7fed6
try
{
- m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3,1));
+ try
+ {
+ m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3, 2));
+ }
+ catch (...)
+ {
+ m_renderCtx = glu::createDefaultRenderContext(m_testCtx.getPlatform(), m_testCtx.getCommandLine(), glu::ApiType::es(3, 1));
+ }
m_contextInfo = glu::ContextInfo::create(*m_renderCtx);
}
catch (...)