Mercurial > molko
diff examples/example-notify/example-notify.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-notify/example-notify.c Sat Mar 04 15:39:21 2023 +0100 +++ b/examples/example-notify/example-notify.c Sat Mar 04 16:47:54 2023 +0100 @@ -42,7 +42,6 @@ .y = 10 }; static struct mlk_texture *icon; -static struct mlk_state *states[1]; static void init(void) @@ -102,7 +101,7 @@ .draw = draw }; - mlk_game_init(states, MLK_UTIL_SIZE(states)); + mlk_game_init(); mlk_game_push(&state); mlk_game_loop(); }