From 0b743b90752bacf31923171af9af0e5ff1f08095 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Wed, 27 Jul 2022 09:18:13 -0500 Subject: [add] alpha support to image class --- src/application.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/application.lisp') 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))) -- cgit v1.2.3