summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dave@izanagi>2013-06-16 14:40:49 -0400
committerDavid Thompson <dave@izanagi>2013-06-16 14:40:49 -0400
commit31478647e55319129eada502ef975a7770e951d4 (patch)
tree2ba6ed640bc455dc84fb8ad22678c04c8b2b8687
parentc8dae50927443233cfb590bb10d38462720f7aa8 (diff)
Fix sprite default scale values.
-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))