View Full Version : Puzzling question about glBindTexture

05-25-2004, 10:24 PM
Hi buddy,

With OGL_ES spec:
(You can reference following website

glBindTexture(GLenum target, GLuint texture)

texture = 0 is reserved to represent the default texture for each texture target.

What does this means? default texture??

For OGL, we use texture = 0 to deactivate
texture. But for OGL_ES, how do we do...

Thanks so much!

05-26-2004, 06:40 AM
The semantic for glBindTexture(target, 0) is the same in OpenGL: it will bind the default texture object (and DOES NOT deactivate texture mapping). :)


06-02-2004, 05:33 AM
Just to be clear..

glBindTexture(target, 0)

will bind the default texture, but if you have not specified any data for the default texture (by calling glTexImage2D), then the texture will be incomplete and will therefore switch off texturing on that texture unit.