From 5a07e08c40e4d21b1c5b239dbf1a09b8601b986e Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 17 Oct 2017 22:42:26 -0400 Subject: Third time's the charm for a bug fix? --- chickadee/render/texture.scm | 3 +-- 1 file changed, 1 insertion(+), 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)))) -- cgit v1.2.3