KhronosGroup / OpenGL-Registry

OpenGL, OpenGL ES, and OpenGL ES-SC API and Extension Registry
678 stars 274 forks source link

Added GL_SHORT, GL_INT, GL_FLOAT and GL_DOUBLE enumerants to ColorPointer type group #579

Closed Rytis-Stan closed 1 year ago

Rytis-Stan commented 1 year ago

Looks like the mentioned enumerants were "lost" from the "ColorPointer" group in the commit 8794952a2dfe6332e269191b1288995059df30fd. Here is how the "ColorPointer" group looked like just before the changes:

        <group name="ColorPointerType" comment="Deprecated, use the group attributes instead.">
            <enum name="GL_BYTE"/>
            <enum name="GL_DOUBLE"/>
            <enum name="GL_FLOAT"/>
            <enum name="GL_INT"/>
            <enum name="GL_SHORT"/>
            <enum name="GL_UNSIGNED_BYTE"/>
            <enum name="GL_UNSIGNED_INT"/>
            <enum name="GL_UNSIGNED_SHORT"/>
        </group>

Re-adding the missing enumerants.

Related PR: https://github.com/KhronosGroup/OpenGL-Registry/pull/578

pdaniell-nv commented 1 year ago

@oddhack, this is approved to merge.