You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in osg/Texture.cpp void TextureObjectSet::flushDeletedTextureObjects(double /*currentTime*/, double& availableTime) { for(; itr != _orphanedTextureObjects.end() && timer.elapsedTime()<availableTime && numDeleted<maxNumObjectsToDelete; ++itr) {} }
why it needs condition timer.elapsedTime()<availableTime. the condition almost will be false and it leads to texture object will not be deleted.
The text was updated successfully, but these errors were encountered:
in osg/Texture.cpp
void TextureObjectSet::flushDeletedTextureObjects(double /*currentTime*/, double& availableTime) { for(; itr != _orphanedTextureObjects.end() && timer.elapsedTime()<availableTime && numDeleted<maxNumObjectsToDelete; ++itr) {} }
why it needs condition timer.elapsedTime()<availableTime. the condition almost will be false and it leads to texture object will not be deleted.
The text was updated successfully, but these errors were encountered: