summaryrefslogtreecommitdiff
path: root/chickadee/graphics/viewport.scm
diff options
context:
space:
mode:
Diffstat (limited to 'chickadee/graphics/viewport.scm')
-rw-r--r--chickadee/graphics/viewport.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/chickadee/graphics/viewport.scm b/chickadee/graphics/viewport.scm
index 9d93c0e..dd51b57 100644
--- a/chickadee/graphics/viewport.scm
+++ b/chickadee/graphics/viewport.scm
@@ -63,10 +63,10 @@ viewport with CLEAR-COLOR when clearing the screen. Clear the buffers
denoted by the list of symbols in CLEAR-FLAGS. Possible values for
CLEAR-FLAGS are 'color-buffer', 'depth-buffer', 'accum-buffer', and
'stencil-buffer'."
- (%make-viewport (make-window-rect (assert-non-negative-integer x)
- (assert-non-negative-integer y)
- (assert-non-negative-integer width)
- (assert-non-negative-integer height))
+ (%make-viewport `(make-window-rect ,(assert-non-negative-integer x)
+ ,(assert-non-negative-integer y)
+ ,(assert-non-negative-integer width)
+ ,(assert-non-negative-integer height))
clear-color
clear-flags))