Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference page for GetTextureSubImage omits valid format enumerators #130

Open
JuanDiegoMontoya opened this issue May 2, 2023 · 0 comments

Comments

@JuanDiegoMontoya
Copy link

JuanDiegoMontoya commented May 2, 2023

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 JuanDiegoMontoya changed the title Reference Page for GetTextureSubImage omits valid format enumerators Reference page for GetTextureSubImage omits valid format enumerators May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant