From 1cba62c355602528890ecf8f669f5362e4c4d9a7 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Fri, 8 Jul 2022 12:13:16 -0500 Subject: [add] [doc] README; [refactor] rendering of containers --- src/core/container.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/container.lisp') 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)))))) -- cgit v1.2.3