According to the spec, GL_VERSION should report the GLES version supported by the current context. However, it appears that PVRVFrame is reporting some other GLES version (e.g. max possible GLES version?).
I checked this behavior in PVRVFrame for SDK 3.5 and 4.0. In SDK 4.0, the GL_VERSION format did get fixed, but its version still doesn’t track the context version.
In the example tested, I forced a GLES 2.0 context, then queried GL_VERSION. SDK 4.0’s PVRVFrame reports:
“OpenGL ES 3.0 (Host : 4.5.13411 Core Profile Context FireGL 15.201.2401.0)”
SDK 3.5’s PVRVFrame is similar, but looks like this:
[blockquote] Querying the GL_VERSION string with glGetString in either OpenGL or
OpenGL ES [or the GL_MAJOR_VERSION and GL_MINOR_VERSION values with
glGetIntegerv, in an OpenGL 3.0 or later context] will return the
actual version supported by a context.[/blockquote]