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

egui_glium::run parameter app now has signature Box<dyn App>

This commit is contained in:
Emil Ernerfeldt
2020-12-14 11:24:37 +01:00
parent 0f7a5287b2
commit 09aa905f7c
4 changed files with 9 additions and 7 deletions

View File

@@ -18,5 +18,5 @@ fn main() {
// Restore `example_app` from file, or create new `ExampleApp`:
let app: ExampleApp = egui::app::get_value(&storage, egui::app::APP_KEY).unwrap_or_default();
egui_glium::run(title, Box::new(storage), app);
egui_glium::run(title, Box::new(storage), Box::new(app));
}