summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sly/render/sprite.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/sly/render/sprite.scm b/sly/render/sprite.scm
index c1d8439..ace9373 100644
--- a/sly/render/sprite.scm
+++ b/sly/render/sprite.scm
@@ -39,8 +39,7 @@
#:use-module (sly signal)
#:use-module (sly render texture)
#:use-module (sly math vector)
- #:export (make-sprite
- load-sprite
+ #:export (make-sprite sprite load-sprite
make-animated-sprite))
;;;
@@ -78,6 +77,8 @@ custom SHADER can be specified."
#:mesh mesh
#:depth-test? #f)))
+(define sprite make-sprite)
+
(define* (load-sprite file-name #:optional #:key (shader (load-default-shader))
(anchor 'center))
"Return a sprite mesh for the texture loaded from FILE-NAME.