Fonts test: clear the unapplied texture delta (debug assert)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
12083230a8
commit
e15aae1f1f
|
|
@ -18,7 +18,9 @@ fn installed() -> egui::Context {
|
|||
let ctx = egui::Context::default();
|
||||
theme::install(&ctx, &Tokens::for_kind(ThemeKind::Dark));
|
||||
// Fonts are loaded at the start of the first frame.
|
||||
let _ = ctx.run_ui(egui::RawInput::default(), |_| {});
|
||||
let mut out = ctx.run_ui(egui::RawInput::default(), |_| {});
|
||||
// Nothing renders here; drop the atlas upload instead of applying it.
|
||||
out.textures_delta.clear();
|
||||
ctx
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue