Original Post
Hi, From the Red Book, I had the impression that the texture function provided using glTexEnv was part of the "state" of a texture object. But the following code changes the function of texture object 2 even though it has not yet glBindTextur-ed (which happens in font->begin())
GLint tex;
glGetIntegerv(GL_TEXTURE_BINDING_2D, &tex);
assert(tex != 2);
glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
font->begin();
Isn't that wrong???