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:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user