summaryrefslogtreecommitdiff
path: root/sly.scm
diff options
context:
space:
mode:
Diffstat (limited to 'sly.scm')
-rw-r--r--sly.scm12
1 files changed, 1 insertions, 11 deletions
diff --git a/sly.scm b/sly.scm
index 3ec28ff..6eb3698 100644
--- a/sly.scm
+++ b/sly.scm
@@ -21,11 +21,7 @@
;;
;;; Code:
-(define-module (sly)
- #:use-module (sly window)
- #:use-module (sly render font)
- #:use-module ((sdl2) #:prefix sdl2:)
- #:export (sly-init))
+(define-module (sly))
(eval-when (eval load compile)
(begin
@@ -52,9 +48,3 @@
(lambda (m)
(module-use! i (resolve-interface m))))
%public-modules)))
-
-(define* (sly-init #:key (fonts? #t))
- "Initialize Sly's global state, such as the OpenGL context."
- (sdl2:sdl-init)
- (init-window)
- (when fonts? (enable-fonts)))