glDisable(GL_TEXTURE_BUFFER)?

Hi,

In OpenGL 3.3. texturing can be disabled using glDisable(GL_TEXTURE_[1D,2D,3D,CUBE_MAP]), but Calling glDisable(GL_TEXTURE_BUFFER) is not valid.

How are texture buffers conceptually different than other textures? Why can they not be disabled?

Thanks.

Enabling and disabling texturing is only used in the fixed function pipeline; it is completely ignored when using shaders. Since Texture buffers are only available in shaders, there was no need to make a enable/disable state for it. That’s why you get an error.

Ok.Thanks for clarifying.