VG_STATIC void world_unload(void)
{
+ vg_acquire_thread_sync();
+
/* free meshes */
mesh_free( &world.mesh_route_lines );
mesh_free( &world.mesh_geo );
world.collector_count = 0;
world.water.enabled = 0;
+
+ vg_release_thread_sync();
}
VG_STATIC void world_load(void)