From 19ef3684c05426af1abb65e2a1a29234fd5e0bc1 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 21 Jul 2013 21:22:26 -0400 Subject: Update to guile-sdl 0.5.0 API. --- 2d/window.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '2d/window.scm') diff --git a/2d/window.scm b/2d/window.scm index 72dfc4d..5f82df1 100644 --- a/2d/window.scm +++ b/2d/window.scm @@ -33,7 +33,7 @@ (define (init-2d) "Initializes guile-2d. This procedure must be called before using the rest of the framework." - (SDL:init '(SDL_INIT_EVERYTHING)) + (SDL:init 'everything) ;; Enable unicode key events (SDL:enable-unicode #t)) @@ -41,7 +41,7 @@ the rest of the framework." "Creates the game window with the specified dimensions and initializes OpenGL state." ;; Open SDL window in OpenGL mode. - (SDL:set-video-mode width height depth '(SDL_OPENGL)) + (SDL:set-video-mode width height depth 'opengl) (SDL:set-caption title) ;; Initialize OpenGL orthographic view (gl-viewport 0 0 width height) -- cgit v1.2.3