projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
simplify
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_render.h
diff --git
a/world_render.h
b/world_render.h
index 7fb47b0dc2cb580c9ee3fd1a8521d04643018412..a01c056c32aebe5e332979461cfdbb1d74bc4e2c 100644
(file)
--- 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_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 )
}
VG_STATIC void world_link_lighting_ub( world_instance *world, GLuint shader )