mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-26 02:57:34 -06:00
Fonts test: clear the unapplied texture delta (debug assert)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user