summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2015-12-14 12:03:30 -0500
committerDavid Thompson <dthompson2@worcester.edu>2015-12-14 12:03:30 -0500
commitf5cd0152a22270893655f2a69358d0f68c442370 (patch)
tree865d5cf14fad5c1088a7a203c1dc7c10d274a75d /examples
parentba5783e3bdc6a1bd3c53a2bb5605c605e9af9a26 (diff)
Remove "sdl-" prefix from symbols in window module.
Diffstat (limited to 'examples')
-rw-r--r--examples/hello.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/hello.scm b/examples/hello.scm
index 3075102..1f98669 100644
--- a/examples/hello.scm
+++ b/examples/hello.scm
@@ -24,7 +24,7 @@
(sdl-init)
-(define window (make-sdl-window))
+(define window (make-window))
(define ren (make-renderer window))
(define surface (load-bmp "hello.bmp"))
(define texture (surface->texture ren surface))
@@ -33,5 +33,6 @@
(render-copy ren texture)
(present-renderer ren)
(sleep 2)
-(close-sdl-window! window)
+(close-window! window)
+(delete-renderer! ren)
(sdl-quit)