Skip to content

Commit

Permalink
Update crates/bevy_render/src/texture/hdr_texture_loader.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
james7132 authored Mar 29, 2024
1 parent f00e46b commit eff21da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_render/src/texture/hdr_texture_loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl AssetLoader for HdrTextureLoader {
let dynamic_image = DynamicImage::from_decoder(decoder)?;
let image_buffer = dynamic_image
.as_rgb32f()
.expect("Image format should be Rgb32F");
.expect("HDR Image format should be Rgb32F");
let mut rgba_data = Vec::with_capacity(image_buffer.pixels().len() * format.pixel_size());

for rgb in image_buffer.pixels() {
Expand Down

0 comments on commit eff21da

Please sign in to comment.