KhronosGroup / OpenGL-Registry

OpenGL, OpenGL ES, and OpenGL ES-SC API and Extension Registry
690 stars 276 forks source link

GL_MAX_VARYING_COMPONENTS lists wrong alias string #457

Closed Lokathor closed 3 years ago

Lokathor commented 3 years ago

In the following entry, the alias value is wrong:

<enum value="0x8B4B" name="GL_MAX_VARYING_COMPONENTS" alias="MAX_VARYING_FLOATS" group="GetPName"/>

It should be GL_MAX_VARYING_FLOATS rather than MAX_VARYING_FLOATS

Perksey commented 3 years ago

Fully agree, PR would be appreciated.

pdaniell-nv commented 3 years ago

@Lokathor are you willing and able to create a PR to fix this? It would be much appreciated. Thanks.

Lokathor commented 3 years ago

Yeah I'll try to remember to get to this soon.

oddhack commented 3 years ago

Fixed. Note, no effect on generated headers due to the way alias enums are emitted.