bevy/crates/bevy_render/src/texture
Hennadii Chernyshchyk ea6e6f7db2 Do not crash if RenderDevice doesn't exist (#4427)
# Objective

Avoid crashing if `RenderDevice` doesn't exist (required for headless mode).
Fixes #4392.

## Solution

Use `CompressedImageFormats::all()` if there is no `RenderDevice`.
2022-04-05 19:37:23 +00:00
..
basis.rs KTX2/DDS/.basis compressed texture support (#3884) 2022-03-15 22:26:46 +00:00
dds.rs KTX2/DDS/.basis compressed texture support (#3884) 2022-03-15 22:26:46 +00:00
hdr_texture_loader.rs Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
image.rs KTX2/DDS/.basis compressed texture support (#3884) 2022-03-15 22:26:46 +00:00
image_texture_conversion.rs KTX2/DDS/.basis compressed texture support (#3884) 2022-03-15 22:26:46 +00:00
image_texture_loader.rs Do not crash if RenderDevice doesn't exist (#4427) 2022-04-05 19:37:23 +00:00
ktx2.rs KTX2/DDS/.basis compressed texture support (#3884) 2022-03-15 22:26:46 +00:00
mod.rs Introduce SystemLabel's for RenderAssetPlugin, and change Image preparation system to run before others (#3917) 2022-03-29 19:44:45 +00:00
texture_cache.rs Proper prehashing (#3963) 2022-02-18 03:26:01 +00:00