summaryrefslogtreecommitdiff
path: root/sdl2
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2020-12-05 12:46:30 -0500
committerDavid Thompson <dthompson2@worcester.edu>2020-12-05 12:46:30 -0500
commitf68b22ee64a737b121d5f4eb306175a3a53341bf (patch)
treea251bda287f0e45902cd766818896088b8f65085 /sdl2
parent4872ad930ab09536cc19567126e0ed3631ac2d34 (diff)
video: Change set-window-size! argument list.
Diffstat (limited to 'sdl2')
-rw-r--r--sdl2/video.scm9
1 files changed, 3 insertions, 6 deletions
diff --git a/sdl2/video.scm b/sdl2/video.scm
index 1c08495..dda917a 100644
--- a/sdl2/video.scm
+++ b/sdl2/video.scm
@@ -229,12 +229,9 @@ the border."
"Set the position of WINDOW to (X, Y)."
(ffi:sdl-set-window-position (unwrap-window window) x y))
-(define (set-window-size! window size)
- "Set the dimensions of WINDOW to SIZE, a two-element list
-of (width,height) coordinates measured in pixels."
- (match size
- ((width height)
- (ffi:sdl-set-window-size (unwrap-window window) width height))))
+(define (set-window-size! window width height)
+ "Set the dimensions of WINDOW to WIDTH x HEIGHT pixels."
+ (ffi:sdl-set-window-size (unwrap-window window) width height))
(define (set-window-minimum-size! window width height)
"Set the minimum dimensions of WINDOW to WIDTH x HEIGHT pixels."