From b77b2a1d5db9d204175e87b3ca452655ce2b3884 Mon Sep 17 00:00:00 2001 From: andriyDev Date: Mon, 14 Oct 2024 22:04:18 -0700 Subject: [PATCH] Rename `SUPPORTED` to `SUPPORTED_FORMATS` now that we're in the context of `ImageLoader`. In `ImageFormat`, just using `SUPPORTED` made more sense. Now, being clearer that this is the supported formats is helpful! --- crates/bevy_image/src/image_loader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_image/src/image_loader.rs b/crates/bevy_image/src/image_loader.rs index 4d7027526d0524..c2c362d1d6bfbb 100644 --- a/crates/bevy_image/src/image_loader.rs +++ b/crates/bevy_image/src/image_loader.rs @@ -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")]