Fix CI warning (Handle<Image>).

This commit is contained in:
T772 2025-07-10 18:51:46 +02:00 committed by GitHub
parent 992bfa6cb0
commit aa54dd6076
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -395,7 +395,7 @@ pub struct StandardMaterial {
/// # use bevy_image::ImageLoaderSettings;
/// #
/// fn load_normal_map(asset_server: Res<AssetServer>) {
/// let normal_handle = asset_server.load_with_settings(
/// let normal_handle: Handle<Image> = asset_server.load_with_settings(
/// "textures/parallax_example/cube_normal.png",
/// // The normal map texture is in linear color space. Lighting won't look correct
/// // if `is_srgb` is `true`, which is the default.