unbinding textures

is there a way to unbind textures such that there will be no texture in use when i draw objects? thanks in advance.

glDisable(GL_TEXTURE_2D)
or
glBindTexture(GL_TEXTURE_2D,0)

dont use glBindTexture(GL_TEXTURE_2D,0)
its not the same thing as disabling textures + can in fact give u sideeffects

Yup. I agree. Texture ‘0’ functions just like all the others, before the introduction of texture objects, it was the only thing you had (ie you couldn’t bind any others). Sorry for that bs.

Addendum: to ‘unbind’ a texture, you have to bind another, so I was still a little bit right