diff options
author | David Thompson <dthompson2@worcester.edu> | 2020-04-11 23:10:50 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2020-04-11 23:10:50 -0400 |
commit | f2721b20704a0e5a4960d490d0ba465feccdf192 (patch) | |
tree | d13c33e23141cee30a2d4fc57c649f8f17cc675a | |
parent | d150acec04ddff321caae0cff88f6cc26161417c (diff) |
render: Apply framebuffer before clearing screen.
-rw-r--r-- | chickadee/render.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chickadee/render.scm b/chickadee/render.scm index 04295e6..00e484c 100644 --- a/chickadee/render.scm +++ b/chickadee/render.scm @@ -98,6 +98,7 @@ (define (clear-screen) (let ((viewport (current-viewport))) + (set-gpu-framebuffer! (current-gpu) (current-framebuffer)) (set-gpu-viewport! (current-gpu) viewport) (clear-viewport viewport))) |