mirror of
https://github.com/bevyengine/bevy
synced 2024-12-23 11:33:06 +00:00
4796ea8d22
The `Texture::convert` function previously was only compiled when one of the image format features (`png`, `jpeg` etc.) were enabled. The `bevy_sprite` crate needs this function though, which led to compilation errors when using `cargo check --no-default-features --features render`. Now the `convert` function has no features and the `texture_to_image` and `image_to_texture` utilites functions are in an unconditionally compiled module. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |