gluBuild2DMipmaps() mem-leak on GLError

Started by Skippy0, January 25, 2005, 12:44:07

Previous topic - Next topic

tomb

Rewrote the gluBuild2DMipmaps in Squareheads to cache the buffers used when scaling the images. Mesuring the function with the highres time I found that the cached version was 30% faster. Probably a bit more since I could not mesure the benefit of less garbage collecting. The Overall loading time was reduced by 10%, from 10 to 9 seconds.

princec

I think the GLU methods should really do their work using byte[] arrays.

Cas :)