Small change to make glDeleteTextures work on OS X.