Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chirsz-ever opened this issue Dec 14, 2023 · 0 comments · May be fixed by #149

Comments

@chirsz-ever
Copy link

<para>
The <constant>GL_VERSION</constant> and <constant>GL_SHADING_LANGUAGE_VERSION</constant> strings begin with a version number.
The version number uses one
of these forms:
</para>
<para>
<emphasis>major_number.minor_number</emphasis>
<emphasis>major_number.minor_number.release_number</emphasis>
</para>
<para>
Vendor-specific information may follow the version
number. Its format depends on the implementation, but
a space always separates the version number and
the vendor-specific information.
</para>

</para>
<para>
The <constant>GL_VERSION</constant> and <constant>GL_SHADING_LANGUAGE_VERSION</constant> strings begin with a version number.
The version number uses one
of these forms:
</para>
<para>
<emphasis>major_number.minor_number</emphasis>
<emphasis>major_number.minor_number.release_number</emphasis>
</para>
<para>
Vendor-specific information may follow the version
number. Its format depends on the implementation, but
a space always separates the version number and
the vendor-specific information.

</para>
<para>
The <constant>GL_VERSION</constant> and <constant>GL_SHADING_LANGUAGE_VERSION</constant> strings begin with a version number.
The version number uses one
of these forms:
</para>
<para>
<emphasis>major_number.minor_number</emphasis>
<emphasis>major_number.minor_number.release_number</emphasis>
</para>
<para>
Vendor-specific information may follow the version
number. Its format depends on the implementation, but
a space always separates the version number and
the vendor-specific information.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant