From 90ce50190e292016d164eb2d27d57e189709ae7d Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Mon, 8 Nov 2021 00:49:10 +0000 Subject: [PATCH] Remove redundant recreateShaders --- apps/openmw/mwrender/actoranimation.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/openmw/mwrender/actoranimation.cpp b/apps/openmw/mwrender/actoranimation.cpp index 7706f7d7f1..1679c07bf4 100644 --- a/apps/openmw/mwrender/actoranimation.cpp +++ b/apps/openmw/mwrender/actoranimation.cpp @@ -261,9 +261,6 @@ void ActorAnimation::updateHolsteredShield(bool showCarriedLeft) if (isEnchanted) SceneUtil::addEnchantedGlow(shieldNode, mResourceSystem, glowColor); } - - if (mAlpha != 1.f) - mResourceSystem->getSceneManager()->recreateShaders(mHolsteredShield->getNode()); } bool ActorAnimation::useShieldAnimations() const