gl_destroy_textures: do not leak textures.
glIsTexture() only works when the texture under test has been bound to a target (thus calling glBindTexture()).
Showing
Please register or sign in to comment
glIsTexture() only works when the texture under test has been bound to a target (thus calling glBindTexture()).