mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 05:10:03 -04:00
epi/eframe: move options out of trait App into new NativeOptions
This commit is contained in:
@@ -41,5 +41,6 @@ impl epi::App for MyApp {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
eframe::run_native(Box::new(MyApp::default()));
|
||||
let options = eframe::NativeOptions::default();
|
||||
eframe::run_native(Box::new(MyApp::default()), options);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user