Original Post
Hi! I bound a texture with
glBindTexture(GL_TEXTURE_2D, textureName);
and enabled it with
glEnable(GL_TEXTURE_2D);
Afterwards I wanted to render another object without a texture and I disabled the texture with
glDisable(GL_TEXTURE_2D)
But the object appeared in the color of the first pixel of the texture I bound before. If I change the color of the first texture pixel, the object color changes too. But the texture was disabled, so how can that happen? I also tried to call glBindTexture with NULL, but this did not change anything. How can I disable the texture completely? Thanks in advance.