aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/container.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/container.lisp b/src/core/container.lisp
index d332cb8..a9e6caf 100644
--- a/src/core/container.lisp
+++ b/src/core/container.lisp
@@ -75,7 +75,7 @@ necessary."
(with-slots (left right top bottom) container
(gl:scissor (* left scale) (* scale bottom) (* scale (- right left)) (* scale (- top bottom)))
(unwind-protect
- (dolist (u (container-units container))
+ (dolist (u (reverse (container-units container)))
(if (visible-in-container-p u)
(render u)))
(gl:scissor (aref current 0) (aref current 1) (aref current 2) (aref current 3))))))