summaryrefslogtreecommitdiff
path: root/2d
diff options
context:
space:
mode:
Diffstat (limited to '2d')
-rw-r--r--2d/sprite.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/2d/sprite.scm b/2d/sprite.scm
index e7820b5..c5310f7 100644
--- a/2d/sprite.scm
+++ b/2d/sprite.scm
@@ -55,7 +55,7 @@
(rotation sprite-rotation set-sprite-rotation!)
(color sprite-color set-sprite-color!))
-(define* (make-sprite texture #:optional (x 0) (y 0) (scale-x 0) (scale-y 0)
+(define* (make-sprite texture #:optional (x 0) (y 0) (scale-x 1) (scale-y 1)
(rotation 0) (color '(1 1 1)))
(%make-sprite texture x y scale-x scale-y rotation color))