aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/application.lisp
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-07-27 09:18:13 -0500
committerColin Okay <colin@cicadas.surf>2022-07-27 09:18:13 -0500
commit0b743b90752bacf31923171af9af0e5ff1f08095 (patch)
tree7a4ea6ad3ebc1372f2a14dc32147b924036e23d0 /src/application.lisp
parentdef70bc521a71b3bfa8d8b0bb982bbcd1743bd22 (diff)
[add] alpha support to image class
Diffstat (limited to 'src/application.lisp')
-rw-r--r--src/application.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application.lisp b/src/application.lisp
index 6869a56..3b531c9 100644
--- a/src/application.lisp
+++ b/src/application.lisp
@@ -116,7 +116,7 @@ those objects are currently part of the scene tree."
(gl:clear :color-buffer-bit)
(gl:enable :blend)
(gl:blend-func :src-alpha :one-minus-src-alpha )
- (dolist (unit (application-scene app))
+ (dolist (unit (reverse (application-scene app)))
(render unit))
(sdl2:gl-swap-window (application-window app))
(sleep (frame-wait app)))