mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-02 08:40:44 +00: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:
1 parent
12083230a8
commit
e15aae1f1f
1 file changed
+3
-1
@@ -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