fix texture_cube_map_t legacy GL version code, but not tested.