From 766082bfaec02a0406199538ba3a65ef49aebab5 Mon Sep 17 00:00:00 2001 From: robtfm <50659922+robtfm@users.noreply.github.com> Date: Tue, 20 Aug 2024 13:25:47 +0100 Subject: [PATCH] -uhm --- crates/bevy_pbr/src/material.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_pbr/src/material.rs b/crates/bevy_pbr/src/material.rs index 34794b15f06b9..dc062d60dd914 100644 --- a/crates/bevy_pbr/src/material.rs +++ b/crates/bevy_pbr/src/material.rs @@ -953,8 +953,8 @@ impl RenderAsset for PreparedMaterial { Err(AsBindGroupError::RetryNextUpdate) => { Err(PrepareAssetError::RetryNextUpdate(material)) } - Err(e) => { - Err(PrepareAssetError::AsBindGroupError(e)) + Err(other) => { + Err(PrepareAssetError::AsBindGroupError(other)) } } }