summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sly/render/framebuffer.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/sly/render/framebuffer.scm b/sly/render/framebuffer.scm
index e533f7a..ed3f253 100644
--- a/sly/render/framebuffer.scm
+++ b/sly/render/framebuffer.scm
@@ -28,6 +28,7 @@
#:use-module (gl)
#:use-module (gl low-level)
#:use-module (gl enums)
+ #:use-module (sly render texture)
#:use-module (sly wrappers gl)
#:export (make-framebuffer
framebuffer?
@@ -57,7 +58,7 @@
(texture framebuffer-texture))
(define null-framebuffer
- (%make-framebuffer 0 0 #f))
+ (%make-framebuffer 0 0 null-texture))
(define (framebuffer-null? framebuffer)
"Return #t if FRAMEBUFFER is the null framebuffer."