Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
textures: ignore texture 0 in glDeleteTextures()
Ths OpenGL spec says that the texture index 0 must be silently ignored by glDeleteTextures(). Failure to ignore this value was causing weird artifacts with text labels in Neverball. We also invert the logic of the "if" condition, to make it easier to read.
- Loading branch information