Loading an RGBA texture

what function should I use to load an RGBA texture?

You can try loading TGA. It is capable of RGB with an alpha channel. The format is quite simple for the uncompressed version, after reading the header the only thing you have to do is to swap the Reb with the Blue.

There are some loaders available. The one at
http://paulyg.virtualave.net/ogl.htm

Seems to be fairly complete.

Antonio www.fatech.com/tech

Ack!

No-ones supposed to go there anymore! I’m taking that page down.

The ‘proper’ address is:
http://home.clara.net/paulyg/ogl.htm

Oh, and thank for the compliment