Login  Register

Re: Texture Issue Again :(

Posted by Aron on Mar 15, 2011; 6:43pm
URL: https://forum.jogamp.org/Texture-Issue-Again-tp2646111p2682288.html

What about    
glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
?
with RGBA textures, you always hit the default 4 alignment. But with RGB or BGR, you will violate the alignment for each row, and that might explain the larger memory requirement message you posted earlier. Just a thought.
Aron