Skip to content

Commit

Permalink
Better info message (#15432)
Browse files Browse the repository at this point in the history
# 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.
  • Loading branch information
BenjaminBrienen authored Sep 26, 2024
1 parent 5e6b141 commit e34a56c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/3d/skybox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e34a56c

Please sign in to comment.