-
Notifications
You must be signed in to change notification settings - Fork 290
Open
Description
There appears to be a copy/paste error in OES_fixed_point, which states that GetPixelMapxv has a size parameter:
OpenGL-Registry/extensions/OES/OES_fixed_point.txt
Lines 128 to 129 in e5778b0
void PixelMapx{enum map int size T* values); | |
void GetPixelMapxv{enum map int size T* values); |
(Note also that there's a missing comma between int size
and T* values
.)
But further down, it says that GetPixelMapxv is just the "x" version of GetPixelMap as defined in OpenGL 1.3:
OpenGL-Registry/extensions/OES/OES_fixed_point.txt
Lines 352 to 354 in e5778b0
Revise to include 'x' suffix for GetClipPlane, GetLightm GetMaterial, | |
GetTexEnv, GetTexGen, GetTexParameter, GetTexLevelParameter, | |
GetPixelMap, and GetMap in Section 6.1.3. |
GetPixelMap does not have a size parameter:
void GetPixelMap{ui us f}v( enum map, T data );
This error has snuck into gl.xml:
<command>
<proto>void <name>glGetPixelMapxv</name></proto>
<param group="PixelMap"><ptype>GLenum</ptype> <name>map</name></param>
<param><ptype>GLint</ptype> <name>size</name></param>
<param len="size"><ptype>GLfixed</ptype> *<name>values</name></param>
</command>
The extension specification and gl.xml should be updated to remove the size parameter.
Metadata
Metadata
Assignees
Labels
No labels