Mercurial > molko
comparison examples/example-trace/main.c @ 300:3638b39ef2bf
examples: fix with new game_push function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 11 Apr 2021 17:43:57 +0200 |
parents | 196264679079 |
children | d01e83210ca2 |
comparison
equal
deleted
inserted
replaced
299:648f5f949afb | 300:3638b39ef2bf |
---|---|
99 .handle = handle, | 99 .handle = handle, |
100 .update = update, | 100 .update = update, |
101 .draw = draw | 101 .draw = draw |
102 }; | 102 }; |
103 | 103 |
104 game_switch(&state, 1); | 104 game_push(&state); |
105 game_loop(); | 105 game_loop(); |
106 } | 106 } |
107 | 107 |
108 static void | 108 static void |
109 quit(void) | 109 quit(void) |