KhronosGroup / OpenGL-Registry

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

Fix param len attribute on multiple functions to match their ARB counterparts #440

Closed NogginBops closed 3 years ago

NogginBops commented 4 years ago

There where a few functions that had <param>s there where missing a len attribute while the functions ARB counterpart had them. This PR fixes these inconsistencies.

glGetnMapdv and glGetnPixelMapfv and their ARB counterparts where also modified to use COMPSIZE as their length depends on the pointer element size as well.

frederikja163 commented 4 years ago

The changes for the two methods: glGetnMapdv, glGetnPixelMapfv were also reflected and implented in my PR #438

pdaniell-nv commented 3 years ago

@oddhack this change is approved to merge if you're happy with it.

NogginBops commented 3 years ago

With some further looking by @frederikja163, we found around 180 other functions similar to this where the ARB version has a len attribute while the non-ARB version doesn't.