diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-11-30 13:28:09 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-11-30 13:29:46 -0500 |
commit | 5133fd953ce12f03988d00f7dfe650607b95c3c1 (patch) | |
tree | 55962a3ef4bb305ca30676b3018610398dba1508 | |
parent | ab2db55b0c90af51ec4414e58d313b63f752da22 (diff) |
render: sprite: Turn off depth test by default.
* sly/render/sprite.scm (make-sprite): Disable depth test.
-rw-r--r-- | sly/render/sprite.scm | 3 |
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)) |