mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 06:23:53 +00:00
Remove redundant recreateShaders
This commit is contained in:
parent
9d134efb4d
commit
90ce50190e
1 changed files with 0 additions and 3 deletions
|
@ -261,9 +261,6 @@ void ActorAnimation::updateHolsteredShield(bool showCarriedLeft)
|
||||||
if (isEnchanted)
|
if (isEnchanted)
|
||||||
SceneUtil::addEnchantedGlow(shieldNode, mResourceSystem, glowColor);
|
SceneUtil::addEnchantedGlow(shieldNode, mResourceSystem, glowColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mAlpha != 1.f)
|
|
||||||
mResourceSystem->getSceneManager()->recreateShaders(mHolsteredShield->getNode());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ActorAnimation::useShieldAnimations() const
|
bool ActorAnimation::useShieldAnimations() const
|
||||||
|
|
Loading…
Reference in a new issue