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

core: doxygenize game
author David Demelier <markand@malikania.fr>
date Sat, 04 Mar 2023 16:47:54 +0100
parents 7f7602bae0bd
children c7664b679a95
line wrap: on
line diff
--- a/examples/example-cursor/example-cursor.c	Sat Mar 04 15:39:21 2023 +0100
+++ b/examples/example-cursor/example-cursor.c	Sat Mar 04 16:47:54 2023 +0100
@@ -35,7 +35,6 @@
 
 #include <mlk/example/example.h>
 
-static struct mlk_state *states[1];
 static char help_text[128];
 static enum mlk_window_cursor cursor = MLK_WINDOW_CURSOR_ARROW;
 
@@ -121,7 +120,7 @@
 
 	change(cursor);
 
-	mlk_game_init(states, MLK_UTIL_SIZE(states));
+	mlk_game_init();
 	mlk_game_push(&state);
 	mlk_game_loop();
 }