Textures are coloured by OPENGL

Hi folks!

I have a grid rendered in my scene on which I apply a texture. But when I render the grid with its texture the texture has a different color then the original wood texture. It becomes pink

before you render the texture, set color to white:

glColor3f(1., 1., 1.);

What your ambient, diffuse, specular light color?

Does the format parameter you pass to glTexImage2D match the actual format of the data you are uploading?