mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
egui_glium::run parameter app now has signature Box<dyn App>
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user