making sure GL_LUMINANCE is not used in texture loading.