diff options
-rw-r--r-- | sly/game.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sly/game.scm b/sly/game.scm index 97a50e4..000d1ce 100644 --- a/sly/game.scm +++ b/sly/game.scm @@ -78,6 +78,7 @@ becoming completely unresponsive and possibly crashing." (frame-interval (interval frame-rate))) (define (draw dt alpha) "Render a frame." + (run-hook draw-hook dt alpha) (let ((size (signal-ref window-size))) (gl-viewport 0 0 (vx size) (vy size))) (gl-clear (clear-buffer-mask color-buffer depth-buffer)) |