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
+1 -1
View File
@@ -12,5 +12,5 @@ fn main() {
// let storage = egui::app::DummyStorage::default();
let app: egui::DemoApp = 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));
}