Skip to content

Commit

Permalink
Rename SUPPORTED to SUPPORTED_FORMATS now that we're in the conte…
Browse files Browse the repository at this point in the history
…xt of `ImageLoader`.

In `ImageFormat`, just using `SUPPORTED` made more sense. Now, being clearer that this is the supported formats is helpful!
  • Loading branch information
andriyDev committed Oct 15, 2024
1 parent 7c4a182 commit b77b2a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_image/src/image_loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ impl ImageLoader {
};

/// Full list of supported formats.
pub const SUPPORTED: &'static [ImageFormat] = &[
pub const SUPPORTED_FORMATS: &'static [ImageFormat] = &[
#[cfg(feature = "avif")]
ImageFormat::Avif,
#[cfg(feature = "basis-universal")]
Expand Down

0 comments on commit b77b2a1

Please sign in to comment.