forked from teamnwah/openmw-tes3coop
Remove outdated comment
This commit is contained in:
parent
c8054424c9
commit
e4e313fe12
2 changed files with 1 additions and 3 deletions
|
@ -140,7 +140,7 @@ namespace MWWorld
|
||||||
// error will be shown when visiting the cell
|
// error will be shown when visiting the cell
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//std::cout << "preloaded " << mPreloadedNodes.size() << " nodes in " << preloadTimer.time_m() << std::endl;
|
std::cout << "preloaded " << mPreloadedNodes.size() << " nodes in " << preloadTimer.time_m() << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -15,8 +15,6 @@ namespace Resource
|
||||||
|
|
||||||
void ResourceManager::updateCache(double referenceTime)
|
void ResourceManager::updateCache(double referenceTime)
|
||||||
{
|
{
|
||||||
// NOTE: we could clear the cache from the background thread if the deletion proves too much of an overhead
|
|
||||||
// idea: customize objectCache to not hold a lock while doing the actual deletion
|
|
||||||
mCache->updateTimeStampOfObjectsInCacheWithExternalReferences(referenceTime);
|
mCache->updateTimeStampOfObjectsInCacheWithExternalReferences(referenceTime);
|
||||||
mCache->removeExpiredObjectsInCache(referenceTime - mExpiryDelay);
|
mCache->removeExpiredObjectsInCache(referenceTime - mExpiryDelay);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue