summaryrefslogtreecommitdiff
path: root/sly.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-12-22 14:35:44 -0500
committerDavid Thompson <dthompson2@worcester.edu>2015-12-22 16:28:18 -0500
commit8b9b5d371d1dc1c780e227ce9a555cf6c88a85c8 (patch)
treef1b6524f92aaa329667f08f4a010a7b5e6925ae8 /sly.scm
parent60d601cbb5eb142d01f880b5902329ada93fc91a (diff)
Upgrade to SDL2!
This commit is massive and crazy and I'm not going to do the usual GNU ChangeLog thing because it's just too much. Let's just be happy that the port is completed!
Diffstat (limited to 'sly.scm')
-rw-r--r--sly.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/sly.scm b/sly.scm
index 2c54dfa..3ec28ff 100644
--- a/sly.scm
+++ b/sly.scm
@@ -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)))