summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sly/render/framebuffer.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/sly/render/framebuffer.scm b/sly/render/framebuffer.scm
index a8c93d1..bf9f84b 100644
--- a/sly/render/framebuffer.scm
+++ b/sly/render/framebuffer.scm
@@ -110,9 +110,9 @@ dimensions WIDTH x HEIGHT."
texture-id #f width height 0 0 1 1)))
(%make-framebuffer framebuffer-id renderbuffer-id texture))))))
-(define-syntax-rule (with-framebuffer framebuffer body ...)
+(define-syntax-rule (with-framebuffer fb body ...)
(begin
(glBindFramebuffer (version-3-0 framebuffer)
- (framebuffer-id framebuffer))
+ (framebuffer-id fb))
body ...
(glBindFramebuffer (version-3-0 framebuffer) 0)))