aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-07-08 12:13:16 -0500
committerColin Okay <colin@cicadas.surf>2022-07-08 12:13:16 -0500
commit1cba62c355602528890ecf8f669f5362e4c4d9a7 (patch)
treed953fc00289048f61ea396b147c234dd548c0f0b /src/core
parent8bf0e572ee084e6659f56b2fecd44a54e2775b6c (diff)
[add] [doc] README; [refactor] rendering of containers
Diffstat (limited to 'src/core')
-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))))))