Both opengl.gles11 and opengl.gles20 modules have a duplicated LoadImageData function, which is very useful to load pixel data from image files and then generate an OpenGL texture from it.
But the fact is that, even if we do not use OpenGL for anything, this function would still be very useful, for example to be able to analyze the pixels in an image. That's why I think it would be very nice to have this LoadImageData function out of both OpenGL modules and available as a separate brl.imagedata module which does not include any GL stuff.
|