main: glDeleteTextures now throws GL_INVALID_VALUE if n is negative.