1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 13:20:05 -04:00

Set MSRV to 1.56.0 and use rust edition 2021 (#998)

This commit is contained in:
Emil Ernerfeldt
2021-12-25 19:32:25 +01:00
committed by GitHub
parent ee00214511
commit c60d17b91b
18 changed files with 36 additions and 29 deletions

View File

@@ -198,9 +198,8 @@ impl AppRunner {
}
.build();
let app = &mut self.app; // TODO: remove when we bump MSRV to 1.56
let (egui_output, shapes) = self.egui_ctx.run(raw_input, |egui_ctx| {
app.update(egui_ctx, &mut frame);
self.app.update(egui_ctx, &mut frame);
});
let clipped_meshes = self.egui_ctx.tessellate(shapes);