Skip to content

Commit

Permalink
Re-export IntoDynamicImageError as public (#13223)
Browse files Browse the repository at this point in the history
# Objective

in response to [13222](#13222)

## Solution

The Image trait was already re-exported in bevy_render/src/lib.rs, So I
added it inline there.

## Testing

Confirmed that it does compile. Simple change, shouldn't cause any
bugs/regressions.
  • Loading branch information
stinkytoe authored May 4, 2024
1 parent 6027890 commit ec418aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_render/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub mod prelude {
mesh::{morph::MorphWeights, primitives::Meshable, Mesh},
render_resource::Shader,
spatial_bundle::SpatialBundle,
texture::{Image, ImagePlugin},
texture::{image_texture_conversion::IntoDynamicImageError, Image, ImagePlugin},
view::{InheritedVisibility, Msaa, ViewVisibility, Visibility, VisibilityBundle},
ExtractSchedule,
};
Expand Down

0 comments on commit ec418aa

Please sign in to comment.