summaryrefslogtreecommitdiff
path: root/2d
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@member.fsf.org>2013-09-15 22:40:14 -0400
committerDavid Thompson <dthompson@member.fsf.org>2013-09-15 22:40:14 -0400
commitde85fd8ca59a8c463efcf0556751c73f1846e321 (patch)
tree29288faaacfcd05ffe02059137e70fe93de9c929 /2d
parentc1b27a5757ff5d951eec97a8fa0ab85101f9f20e (diff)
Clean up docstrings for window module.
Diffstat (limited to '2d')
-rw-r--r--2d/window.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/2d/window.scm b/2d/window.scm
index 2631d7f..094314b 100644
--- a/2d/window.scm
+++ b/2d/window.scm
@@ -30,8 +30,8 @@
close-window))
(define* (open-window title resolution fullscreen)
- "Creates the game window with the specified dimensions and
-initializes OpenGL state."
+ "Open the game window with the given TITLE and RESOLUTION. If
+FULLSCREEN is #t, open a fullscreen window."
(let ((flags (if fullscreen '(opengl fullscreen) 'opengl))
(width (vx resolution))
(height (vy resolution)))
@@ -56,7 +56,6 @@ initializes OpenGL state."
(blending-factor-dest one-minus-src-alpha))))
(define (close-window)
- "Closes the game window and cleans up. This procedure is typically
-called just before calling (quit)."
+ "Close the game window and audio."
(SDL:close-audio)
(SDL:quit))