PDA

View Full Version : Texture load



SimonS
01-19-2009, 10:21 AM
Is there any good way to load textures, such as .jpg or .bmp etc?

kusma
01-20-2009, 02:04 AM
There isn't any built-in file-format loaders in OpenGL ES, if that's what you're asking. You must implement loaders for the file-formats you wish to support yourself, and pass the images to glTexImage2D. Libraries like libpng and jpeglib should help you out.

SimonS
01-20-2009, 06:06 AM
ty, got it to work with ijl .