summaryrefslogtreecommitdiff
path: root/chickadee.scm
diff options
context:
space:
mode:
Diffstat (limited to 'chickadee.scm')
-rw-r--r--chickadee.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/chickadee.scm b/chickadee.scm
index 8dc0400..7175f50 100644
--- a/chickadee.scm
+++ b/chickadee.scm
@@ -256,6 +256,7 @@ border is disabled, otherwise it is enabled.")
(window-height 480)
window-fullscreen?
window-resizable?
+ (clear-color %default-clear-color)
(update-hz 60)
(load (const #t))
(update (const #t))
@@ -297,7 +298,8 @@ border is disabled, otherwise it is enabled.")
#:multisample? #f)))
(gfx (make-graphics-engine (window-gl-context window)))
(default-viewport (make-atomic-box
- (make-viewport 0 0 window-width window-height)))
+ (make-viewport 0 0 window-width window-height
+ #:clear-color clear-color)))
(default-projection (make-atomic-box
(orthographic-projection 0 window-width
window-height 0