From 487d76c0ae2f7440ddbb1e03415ece49c8d014a7 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Fri, 16 Oct 2026 10:10:19 +0200 Subject: [PATCH] gfx: the batch test covers see-through text Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/src/gfx.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/horizon-client/src/gfx.rs b/crates/horizon-client/src/gfx.rs index e41193870..7b36fd64c 100644 --- a/crates/horizon-client/src/gfx.rs +++ b/crates/horizon-client/src/gfx.rs @@ -2814,7 +2814,7 @@ mod tests { .flat_map(|(layer, id)| quad(layer, id)) .collect(); let mut batch = super::EntityBatch::default(); - let counts = batch.update(&entities, &quad(3, 5), &quad(0, 6)); + let counts = batch.update(&entities, &quad(3, 5), &quad(0, 6), &quad(0, 8)); let vertices = &batch.combined; assert_eq!(counts, [2, 1, 1, 2]); assert_eq!( @@ -2824,7 +2824,7 @@ mod tests { .iter() .map(|q| q[0].light) .collect::>(), - [0, 3, 2, 7, 1, 4, 5, 6] + [0, 3, 2, 7, 1, 4, 5, 6, 8] ); } #[test]