summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2017-10-17 22:42:26 -0400
committerDavid Thompson <dthompson2@worcester.edu>2017-10-17 22:43:25 -0400
commit5a07e08c40e4d21b1c5b239dbf1a09b8601b986e (patch)
treef25270faaf65ded68fab01226f8d039a0e608a74
parent3879c714dfe958472c10b5e807d65be61041c25d (diff)
Third time's the charm for a bug fix?
-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))))