mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
refactor: no need to pass Fonts structure to tessellator
This makes the tesselator take only data as argument, which is a lot nicer.
This commit is contained in:
@@ -89,7 +89,7 @@ pub fn criterion_benchmark(c: &mut Criterion) {
|
||||
b.iter(|| {
|
||||
let fake_italics = false;
|
||||
tessellator.tessellate_text(
|
||||
&fonts,
|
||||
fonts.texture().size(),
|
||||
egui::Pos2::ZERO,
|
||||
&galley,
|
||||
egui::Color32::WHITE,
|
||||
|
||||
Reference in New Issue
Block a user