OpenGL-Refpages icon indicating copy to clipboard operation
OpenGL-Refpages copied to clipboard

OpenGL ES 3.x Reference pages conflict with specifications for "glGetString(GL_VERSION)" and "glGetString(GL_SHADING_LANGUAGE_VERSION)"

Open chirsz-ever opened this issue 1 year ago • 0 comments

https://github.com/KhronosGroup/OpenGL-Refpages/blob/f50027c1c911e019648a6a08176aa6813de66d47/es3.0/glGetString.xml#L135-L149

https://github.com/KhronosGroup/OpenGL-Refpages/blob/f50027c1c911e019648a6a08176aa6813de66d47/es3.1/glGetString.xml#L135-L149

https://github.com/KhronosGroup/OpenGL-Refpages/blob/f50027c1c911e019648a6a08176aa6813de66d47/es3/glGetString.xml#L135-L149

The GL_VERSION and GL_SHADING_LANGUAGE_VERSION strings begin with a version number.

But the OpenGL ES 3.0/3.1/3.2 specifications says:

The VERSION string is laid out as follows: "OpenGL ES N.M vendor-specific information" The SHADING_LANGUAGE_VERSION string is laid out as follows: "OpenGL ES GLSL ES N.M vendor-specific information"

I think the latter is correct, because it is compatible with OpenGL ES 2.0 behavior.

chirsz-ever avatar Dec 14 '23 04:12 chirsz-ever