diff examples/example-drawable/example-drawable.c @ 522:f45a023f6690

core: doxygenize game
author David Demelier <markand@malikania.fr>
date Sat, 04 Mar 2023 16:47:54 +0100
parents 6af0524913b3
children c7664b679a95
line wrap: on
line diff
--- a/examples/example-drawable/example-drawable.c	Sat Mar 04 15:39:21 2023 +0100
+++ b/examples/example-drawable/example-drawable.c	Sat Mar 04 16:47:54 2023 +0100
@@ -49,7 +49,6 @@
 	.text = "Keys: <Esc> to reset. Click anywhere to spawn a drawable."
 };
 
-static struct mlk_state *states[1];
 static struct mlk_drawable *drawables[64];
 static struct mlk_drawable_stack stack = {
 	.objects = drawables,
@@ -179,7 +178,7 @@
 
 	mlk_drawable_stack_init(&stack);
 
-	mlk_game_init(states, MLK_UTIL_SIZE(states));
+	mlk_game_init();
 	mlk_game_push(&state);
 	mlk_game_loop();
 }