summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chickadee/render/texture.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/chickadee/render/texture.scm b/chickadee/render/texture.scm
index b8b47a1..0c4480b 100644
--- a/chickadee/render/texture.scm
+++ b/chickadee/render/texture.scm
@@ -24,7 +24,6 @@
#:use-module (system foreign)
#:use-module (gl)
#:use-module (gl enums)
- #:use-module ((sdl2 image) #:prefix sdl-image:)
#:use-module (sdl2 surface)
#:use-module (oop goops)
#:use-module (chickadee math rect)
@@ -222,7 +221,7 @@ the given MIN-FILTER and MAG-FILTER."
describe the method that should be used for minification and
magnification. Valid values are 'nearest and 'linear. By default,
'nearest is used."
- (call-with-surface (sdl-image:load-image file)
+ (call-with-surface ((@ (sdl2 image) load-image) file)
(lambda (surface)
(surface->texture surface min-filter mag-filter wrap-s wrap-t))))