Skip to content

Commit

Permalink
"image" type
Browse files Browse the repository at this point in the history
  • Loading branch information
robtfm committed Aug 12, 2024
1 parent 2553b61 commit 0b43059
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_render/src/texture/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use wgpu::{Extent3d, TextureDimension, TextureFormat, TextureViewDescriptor};
pub const TEXTURE_ASSET_INDEX: u64 = 0;
pub const SAMPLER_ASSET_INDEX: u64 = 1;

#[derive(Debug, Serialize, Deserialize, Copy, Clone)]
#[derive(Debug, Serialize, Deserialize, Copy, Clone, PartialEq, Eq)]
pub enum ImageFormat {
Avif,
Basis,
Expand Down
1 change: 1 addition & 0 deletions crates/bevy_render/src/texture/image_loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pub struct ImageLoader {
}

pub(crate) const IMG_FILE_EXTENSIONS: &[&str] = &[
"image",
#[cfg(feature = "basis-universal")]
"basis",
#[cfg(feature = "bmp")]
Expand Down

0 comments on commit 0b43059

Please sign in to comment.