OpenGL-Refpages icon indicating copy to clipboard operation
OpenGL-Refpages copied to clipboard

Reference page for GetTextureSubImage omits valid format enumerators

Open JuanDiegoMontoya opened this issue 1 year ago • 0 comments

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

JuanDiegoMontoya avatar May 02 '23 10:05 JuanDiegoMontoya