Work in glGetTexImage() to return GL_COLOR_INDEX images.