Re: Why glReadPixels' buffer is too small?
Posted by
gouessej on
Apr 17, 2012; 1:23pm
URL: https://forum.jogamp.org/Why-glReadPixels-buffer-is-too-small-tp3916912p3917227.html
Hi
Are you sure you can use GL_DEPTH_COMPONENT with GL_UNSIGNED_BYTE?
636 * 432 = 274752
I don't understand why it requires 274750 bytes.