Skip to content

Commit 94ca4d9

Browse files
committed
Reset PagedLODs requestStatus and requestCount when they are pruned from queue
1 parent bc10111 commit 94ca4d9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/vsg/io/DatabasePager.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,8 @@ uint32_t DatabaseQueue::prune(uint64_t frameCount)
461461
{
462462
// info("pruning ", *itr, ", lastUsed = ", (*itr)->frameHighResLastUsed.load(), " vs ", frameCount, " after ", (*itr)->loadAttempts.load(), " loadAttempts");
463463
++numRemoved;
464+
(*itr)->requestCount.exchange(0);
465+
(*itr)->requestStatus.exchange(PagedLOD::NoRequest);
464466
itr = _queue.erase(itr);
465467
}
466468
else

0 commit comments

Comments
 (0)