Better info message (#15432)

# Objective

Fixes the confusion that caused #5660

## Solution

Make it clear that it is the hardware which doesn't support the format
and not bevy's fault.
This commit is contained in:
Benjamin Brienen 2024-09-26 15:32:33 +02:00 committed by GitHub
parent 5e6b141c13
commit e34a56c963
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,7 +127,10 @@ fn cycle_cubemap_asset(
if supported_compressed_formats.contains(CUBEMAPS[new_index].1) {
break;
}
info!("Skipping unsupported format: {:?}", CUBEMAPS[new_index]);
info!(
"Skipping format which is not supported by current hardware: {:?}",
CUBEMAPS[new_index]
);
}
// Skip swapping to the same texture. Useful for when ktx2, zstd, or compressed texture support