diff options
Diffstat (limited to 'sly.scm')
-rw-r--r-- | sly.scm | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -24,6 +24,7 @@ (define-module (sly) #:use-module (sly window) #:use-module (sly render font) + #:use-module ((sdl2) #:prefix sdl2:) #:export (sly-init)) (eval-when (eval load compile) @@ -54,5 +55,6 @@ (define* (sly-init #:key (fonts? #t)) "Initialize Sly's global state, such as the OpenGL context." - (open-window) + (sdl2:sdl-init) + (init-window) (when fonts? (enable-fonts))) |