local fix
fix assert hit when (GL_NUM_COMPRESSED_TEXTURE_FORMATS == 0)