Skip to content

Incorrect signature for GetPixelMapxv from OES_fixed_point #660

@castholm

Description

@castholm

There appears to be a copy/paste error in OES_fixed_point, which states that GetPixelMapxv has a size parameter:

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:

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions