View Full Version : Color troubles..

09-18-2001, 08:00 AM

When I write an opengl program that uses texture mapping, all colors are reverted. I was told to change GL_RGB ro GL_BGR in the glTexImage2D() function.

But when I do so, the texture doesn't show at all.. the square is just displayed as white.. Could someone plz help me?