X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_render.h;h=a01c056c32aebe5e332979461cfdbb1d74bc4e2c;hb=926a64f679a23d8b0f3594d73405d2486c398a59;hp=7fb47b0dc2cb580c9ee3fd1a8521d04643018412;hpb=b4a83d4fcab39bee5a8cd6e8e6eec06314864e5b;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_render.h b/world_render.h index 7fb47b0..a01c056 100644 --- a/world_render.h +++ b/world_render.h @@ -60,8 +60,8 @@ VG_STATIC void world_render_init(void) vg_tex2d_load_qoi_async_file( "textures/garbage.qoi", VG_TEX2D_NEAREST|VG_TEX2D_REPEAT, &tex_terrain_noise ); - vg_async_item *call = vg_async_alloc(0); - vg_async_dispatch( call, async_world_render_init ); + + vg_async_call( async_world_render_init, NULL, 0 ); } VG_STATIC void world_link_lighting_ub( world_instance *world, GLuint shader )