X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_gen.h;fp=world_gen.h;h=cf713fd69c5438ff2da5a673a98a29f1b915a323;hb=926a64f679a23d8b0f3594d73405d2486c398a59;hp=3e7cdb90addbca4605f31b993f8aabfcf674002d;hpb=b4a83d4fcab39bee5a8cd6e8e6eec06314864e5b;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_gen.h b/world_gen.h index 3e7cdb9..cf713fd 100644 --- a/world_gen.h +++ b/world_gen.h @@ -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 )