{
// Detect compatible GLES context by querying GL_MAJOR_VERSION.
// This query does not exist on GLES2 so succeeding query implies GLES3+ context.
- bool isES3Compatible = false;
+ bool _isES3Compatible = false;
glw::GLint majorVersion = 0;
const glw::Functions& gl = m_context.getFunctions();
gl.getError();
gl.getIntegerv(GL_MAJOR_VERSION, &majorVersion);
if (gl.getError() == GL_NO_ERROR)
- isES3Compatible = true;
+ _isES3Compatible = true;
- return isES3Compatible;
+ return _isES3Compatible;
}
ContextInfo* ContextInfo::create (const RenderContext& context)