"unbinding" textures

Hi, whenever I bind a texture and the draw a line which is supposed to have lets say glColor3f(1.0f, 1.0f, 1.0f), then the lines are drawn perfectly, but the color is somehow wrong.
It goes through severel different shades of yellow, but isn’t white at all.
Why not?

That’s because your line is textured. If you don’t specify texture coordinates, the whole thing will be modulated (at least that’s the default behaviour) with a single texel. To get rid of that, simply temporarily disable texturing, eg glDisable(GL_TEXTURE_2D); .