1
0
Fork 0

Reset: wipe the Effect UniformCache

This commit is contained in:
James Turner 2018-09-13 23:52:52 +02:00
parent 47d33b5de3
commit 72e1737aa6

View file

@ -1187,8 +1187,8 @@ void fgStartNewReset()
simgear::clearEffectCache(); simgear::clearEffectCache();
simgear::SGModelLib::resetPropertyRoot(); simgear::SGModelLib::resetPropertyRoot();
simgear::GlobalParticleCallback::setSwitch(NULL); simgear::GlobalParticleCallback::setSwitch(NULL);
simgear::UniformFactory::instance()->reset();
globals->resetPropertyRoot(); globals->resetPropertyRoot();
// otherwise channels are duplicated // otherwise channels are duplicated