summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/chickadee.scm b/chickadee.scm
index a3434b8..05f3d65 100644
--- a/chickadee.scm
+++ b/chickadee.scm
@@ -399,7 +399,9 @@ border is disabled, otherwise it is enabled.")
((width height)
(set! window-width width)
(set! window-height height)
- (atomic-box-set! default-viewport (make-viewport 0 0 width height))
+ (atomic-box-set! default-viewport
+ (make-viewport 0 0 width height
+ #:clear-color clear-color))
(atomic-box-set! default-projection
(orthographic-projection 0 width height 0 0 1))
(window-resize width height))))))