bevy/crates/bevy_render
Jakob Hellermann 4796ea8d22
move texture_to_image and image_to_texture into new module (#1381)
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.
2021-02-02 13:25:16 -08:00
..
src move texture_to_image and image_to_texture into new module (#1381) 2021-02-02 13:25:16 -08:00
Cargo.toml Add bmp as a supported texture format (#1081) 2020-12-23 16:53:02 -06:00