Have a look at the SDL code here -
http://osdl.sourceforge.net/OSDL/OSD...-examples.html
It shows another way of achieving colour keyed transparency.

Don't forget that since you are using OpenGL you will need to tell users of your software to create Power of 2 textures if they want the least amount of hassle amongst graphics.