cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

yousry
Adept I

possible bug: glTexImage2D with GL_COMPRESSED_RGBA

glHint(GL_TEXTURE_COMPRESSION_HINT, GL_NICEST);
glTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGBA , pixelWidth, pixelHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, imageData);

creates corrupt data for non quadratic textures.

This is a nasty bug because the deactivation of compression has an impact on render-speed.

0 Likes