summaryrefslogtreecommitdiff
path: root/chickadee/render/texture.scm
diff options
context:
space:
mode:
Diffstat (limited to 'chickadee/render/texture.scm')
-rw-r--r--chickadee/render/texture.scm7
1 files changed, 1 insertions, 6 deletions
diff --git a/chickadee/render/texture.scm b/chickadee/render/texture.scm
index 960b7d0..4214c70 100644
--- a/chickadee/render/texture.scm
+++ b/chickadee/render/texture.scm
@@ -233,12 +233,7 @@ the given MIN-FILTER and MAG-FILTER."
(lambda (surface)
(let* ((width (surface-width surface))
(height (surface-height surface))
- ;; OpenGL textures use the bottom-left corner as the
- ;; origin, whereas SDL uses the top-left, so the rows
- ;; of pixels must be reversed before creating a
- ;; texture from them.
- (pixels (flip-pixels-vertically (surface-pixels surface)
- width height)))
+ (pixels (surface-pixels surface)))
(make-texture pixels width height
#:min-filter min-filter
#:mag-filter mag-filter