Skip to content

Commit

Permalink
Update image_loader.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rustbasic authored Nov 3, 2024
1 parent 9c2cd34 commit e8c7e08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/egui_extras/src/loaders/image_loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ fn get_ext_from_image_uri(uri: &str) -> String {
"svg".to_owned()
} else if image_uri.contains(".webp") {
"webp".to_owned()
} else if image_uri.contains(".apng") {
"apng".to_owned()
} else if image_uri.contains(".avif") {
"avif".to_owned()
} else if image_uri.contains(".bmp") {
Expand Down

0 comments on commit e8c7e08

Please sign in to comment.