Re: Strange phenomenon about glDrawPixels, Any one can help me ?
Posted by
Sven Gothel on
Aug 07, 2015; 10:46pm
URL: https://forum.jogamp.org/Strange-phenomenon-about-glDrawPixels-Any-one-can-help-me-tp4035033p4035056.html
On 08/07/2015 04:25 PM, gouessej [via jogamp] wrote:
> GLBuffers.sizeof() computes the bytes per pixel from the format and the type
> or use the value in input. Look at the implementation of this method.
Yup .. this is our canonical buffer size definition/method.
~Sven