You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Texture Atlas texture should contain proper initial data for Rgba32Float
What actually happened
It is hardcoded to have just 4 null bytes regardless of specified texture format.
Additional information
Problem is here:
/.cargo/registry/src/github.jparrowsec.cn-1ecc6299db9ec823/bevy_sprite-0.5.0/src/texture_atlas_builder.rs:174
Ok(rect_placements) => {
atlas_texture = Texture::new_fill(Extent3d::new(current_width, current_height,1),TextureDimension::D2,&[0,0,0,0],// <--- should not be hardcodedself.format,);Some(rect_placements)}
The text was updated successfully, but these errors were encountered:
Bevy version
0.5.0 from crates.io
Operating system & version
Irrelevant
What you did
What you expected to happen
Texture Atlas texture should contain proper initial data for Rgba32Float
What actually happened
It is hardcoded to have just 4 null bytes regardless of specified texture format.
Additional information
Problem is here:
/.cargo/registry/src/github.jparrowsec.cn-1ecc6299db9ec823/bevy_sprite-0.5.0/src/texture_atlas_builder.rs:174
The text was updated successfully, but these errors were encountered: