PDA

View Full Version : Color troubles..



Hamcha
09-18-2001, 07:00 AM
Hi.

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?