summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sly/render/sprite.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/sly/render/sprite.scm b/sly/render/sprite.scm
index a4e4cd4..c1d8439 100644
--- a/sly/render/sprite.scm
+++ b/sly/render/sprite.scm
@@ -75,7 +75,8 @@ custom SHADER can be specified."
(vector2 s1 t2)))))
(make-model #:shader shader
#:texture texture
- #:mesh mesh)))
+ #:mesh mesh
+ #:depth-test? #f)))
(define* (load-sprite file-name #:optional #:key (shader (load-default-shader))
(anchor 'center))