From e7735f08755b34bf21284b6684a56c516c799c28 Mon Sep 17 00:00:00 2001 From: Vikram Bhaskaran Date: Sun, 11 Oct 2026 10:20:10 +1100 Subject: [PATCH 1/2] Tests: pointer-wrap frames drain egui's texture deltas instead of dropping them. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Scrub helper and the real-properties test discarded FullOutput, so the first pass' font-atlas texture delta panicked on drop in debug builds — which is how the FreeBSD CI gate failed. Consume the delta the way the rest of the crate's egui tests do. --- crates/ui-egui/src/pointer_wrap.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/ui-egui/src/pointer_wrap.rs b/crates/ui-egui/src/pointer_wrap.rs index d4c29b17..a4aefe33 100644 --- a/crates/ui-egui/src/pointer_wrap.rs +++ b/crates/ui-egui/src/pointer_wrap.rs @@ -224,7 +224,7 @@ mod tests { }; raw.events.push(Event::ModifiersChanged(self.modifiers)); prepare_input(&self.ctx, &mut raw, self.injected); - let _ = self.ctx.run_ui(raw, |ui| { + let mut out = self.ctx.run_ui(raw, |ui| { if self.standard { ui.put( Rect::from_min_size(pos2(100.0, 100.0), vec2(60.0, 20.0)), @@ -266,6 +266,7 @@ mod tests { self.accept_warp.then_some(p) }); }); + out.textures_delta.clear(); } fn move_to(&mut self, p: Pos2) { @@ -482,7 +483,7 @@ mod tests { let mut raw = RawInput { screen_rect: Some(bounds), time: Some(time), events, ..Default::default() }; app.raw_input_hook(&ctx, &mut raw); let mut warp = None; - let _ = ctx.run_ui(raw, |ui| { + let mut out = ctx.run_ui(raw, |ui| { app.logic(ui.ctx(), &mut frame); app.ui(ui, &mut frame); finish_frame(ui.ctx(), bounds, |p| { @@ -490,6 +491,7 @@ mod tests { Some(p) }); }); + out.textures_delta.clear(); warp }; for _ in 0..4 { From da53c828dd7e926c478cf4469b173a515b2b6d4b Mon Sep 17 00:00:00 2001 From: Vikram Bhaskaran Date: Sun, 11 Oct 2026 10:20:10 +1100 Subject: [PATCH 2/2] Credit Vikram Bhaskaran by real name and display name. --- contributors/people.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contributors/people.toml b/contributors/people.toml index 72e247c8..03f8c667 100644 --- a/contributors/people.toml +++ b/contributors/people.toml @@ -49,3 +49,8 @@ sync_github_name = false real_name = "Julen Llop" display_name = "Julen Llop" sync_github_name = false + +[people.vbasky] +real_name = "Vikram Bhaskaran" +display_name = "Vikram Bhaskaran" +sync_github_name = false