render: texture: Fix bug in framebuffer texture coordinates.
[chickadee.git] / chickadee / render / texture.scm
index e37e4ec..3b1cb04 100644 (file)
@@ -169,7 +169,7 @@ clamp-to-edge.  FORMAT specifies the pixel format.  Currently only
                                  0 0 width height
                                  (make-rect 0.0 0.0 width height)
                                  (if flip?
-                                     (make-rect 1.0 1.0 -1.0 -1.0)
+                                     (make-rect 0.0 1.0 1.0 -1.0)
                                      (make-rect 0.0 0.0 1.0 1.0))))))
     (texture-set! 0 texture)
     (gl-texture-parameter (texture-target texture-2d)