X-Git-Url: https://git.jsancho.org/?p=gacela.git;a=blobdiff_plain;f=gacela%2Fgame.scm;h=86136cd9a08fdf0070554dcf6a975efff108ff1d;hp=dd7886cc150e5f230bf3ed5c3c97318c0aa8f4da;hb=ee72c2bc37b7d06fbf90b27fa8e45e6f2d4e27bc;hpb=475d22be2375535402165d3373fae03a028886f2 diff --git a/gacela/game.scm b/gacela/game.scm index dd7886c..86136cd 100644 --- a/gacela/game.scm +++ b/gacela/game.scm @@ -153,8 +153,8 @@ milliseconds of the last iteration of the game loop." (sdl2:hide-window! %sdl-window) (sdl2:sdl-quit)) -(define (play-game scene) +(define (play-game scene . args) (init-window) - (open-window) + (apply open-window args) (run-game-loop scene) (close-window))