
glReadPixel takes window coordinates not viewport coordinates so we shouldn't have been assuming that the viewport height == window height.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%