Skip to content

Commit

Permalink
add .jpg to list of supported image file extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Jeffords committed Dec 9, 2020
1 parent 0a225a7 commit d45514a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/bevy_render/src/texture/image_texture_loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ macro_rules! define_file_extensions {

define_file_extensions! {
"png" => Png, "dds" => Dds,
"tga" => Tga, "jpeg" => Jpeg,
"tga" => Tga, "jpg" => Jpeg,
"jpeg" => Jpeg,
}

impl AssetLoader for ImageTextureLoader {
Expand Down

0 comments on commit d45514a

Please sign in to comment.