Skip to content

Reference page for GetTextureSubImage omits valid format enumerators #130

@JuanDiegoMontoya

Description

@JuanDiegoMontoya

See here: https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetTextureSubImage.xhtml

The 4.5 spec says:

GetTextureSubImage
...
level, format, type and pixels have the same meaning as for GetTexImage.

Going there, we see:

GetTexImage
...
format is a pixel format from table 8.3

Table 8.3 has the formats from the above link to the reference page for glGetTextureSubImage, except it also has eight _INTEGER formats. These formats should be added to the reference page for the function.

Update: this issue also affects the reference page for glReadPixels: https://registry.khronos.org/OpenGL-Refpages/gl4/html/glReadPixels.xhtml

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