The manual page for glGenTextures says see also glIsTexture; the latter will (according to that) always return GL_FALSE for a texture name of 0. So, 0 can't be a valid texture name.
GL_FALSE
1.4m articles
1.4m replys
5 comments
57.0k users