summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-10-28 21:34:11 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-10-28 21:34:11 -0400
commitba77cf9fb1feb5697b87421361ddf4b259fa9e4a (patch)
tree0f17222be8653431a05a70c829dc680d8bcae15d
parent605d039b532e017674eaa7babc3579c4efd82af2 (diff)
texture: Embrace the bottom-left origin.
* sly/texture.scm (load-bitmap): Do not flip y-axis.
-rw-r--r--sly/texture.scm2
1 files changed, 0 insertions, 2 deletions
diff --git a/sly/texture.scm b/sly/texture.scm
index 3d62f1f..55b6204 100644
--- a/sly/texture.scm
+++ b/sly/texture.scm
@@ -151,8 +151,6 @@ that will be rendered, in pixels."
(bitmap (freeimage-load image-type filename))
(32bit-bitmap (freeimage-convert-to-32-bits bitmap)))
(freeimage-unload bitmap)
- ;; Need to flip because y-axis is reversed.
- (freeimage-flip-vertical 32bit-bitmap)
32bit-bitmap))
(define* (load-texture file-name #:optional #:key