summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--starling/kernel.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/starling/kernel.scm b/starling/kernel.scm
index 52d7adb..742a183 100644
--- a/starling/kernel.scm
+++ b/starling/kernel.scm
@@ -380,6 +380,9 @@
(sdl2:delete-gl-context! (gl-context kernel))
(sdl2:close-window! (window kernel))))))
+(define-method (current-scene)
+ (current-scene (current-kernel)))
+
(define (reboot-current-scene)
"Reboot the currently active scene being managed by the game engine
kernel. A convenient procedure for developers."