diff options
Diffstat (limited to 'examples/images/src/main.rs')
-rw-r--r-- | examples/images/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/images/src/main.rs b/examples/images/src/main.rs index 87a680d1..5c1c6a4e 100644 --- a/examples/images/src/main.rs +++ b/examples/images/src/main.rs @@ -12,7 +12,7 @@ fn main() -> Result<(), eframe::Error> { "Image Viewer", options, Box::new(|cc| { - // The following call is needed to load images when using `ui.image` and `egui::Image`: + // This gives us image support: egui_extras::install_image_loaders(&cc.egui_ctx); Box::<MyApp>::default() }), |