Passed game for should close flag.
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ main :: proc() {
|
|||||||
game_init(&game)
|
game_init(&game)
|
||||||
|
|
||||||
// Game loop
|
// Game loop
|
||||||
for game_should_run() {
|
for game_should_run(game) {
|
||||||
game_update(&game)
|
game_update(&game)
|
||||||
game_render(&game)
|
game_render(&game)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user