simplify
[carveJwlIkooP6JGAAIwe30JlM.git] / world_gen.h
index 3e7cdb90addbca4605f31b993f8aabfcf674002d..cf713fd69c5438ff2da5a673a98a29f1b915a323 100644 (file)
@@ -548,10 +548,7 @@ VG_STATIC int reset_player( int argc, char const *argv[] );
 VG_STATIC void world_post_process( world_instance *world )
 {
    world_compute_light_indices( world );
-
-   vg_async_item *call = vg_async_alloc(0);
-   call->payload = world;
-   vg_async_dispatch( call, async_world_postprocess_render );
+   vg_async_call( async_world_postprocess_render, world, 0 );
 }
 
 VG_STATIC void world_process_resources( world_instance *world )