From 1a344160d425f54b23c2235a31b4d6ab352d9131 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 10 Sep 2018 21:27:51 -0400 Subject: render: framebuffer: Flip UV coordinates. * chickadee/render/framebuffer.scm (make-framebuffer): Flip the texture now that the texture origin is top-left. --- chickadee/render/framebuffer.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/chickadee/render/framebuffer.scm b/chickadee/render/framebuffer.scm index f96d6ba..a4c98f7 100644 --- a/chickadee/render/framebuffer.scm +++ b/chickadee/render/framebuffer.scm @@ -94,6 +94,7 @@ dimensions WIDTH x HEIGHT." (let* ((framebuffer-id (generate-framebuffer)) (renderbuffer-id (generate-renderbuffer)) (texture (make-texture #f width height + #:flip? #t #:min-filter min-filter #:mag-filter mag-filter #:wrap-s wrap-s -- cgit v1.2.3