mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-09 22:58:54 +02:00
?ploo
This commit is contained in:
parent
8f14f01e49
commit
67ba7301f8
1 changed files with 3 additions and 2 deletions
|
|
@ -133,10 +133,11 @@ void TextureCache<P>::RunGarbageCollector() {
|
|||
if (True(image.flags & ImageFlagBits::IsDecoding)) {
|
||||
return false;
|
||||
}
|
||||
if (!high_priority_mode && True(image.flags & ImageFlagBits::CostlyLoad)) {
|
||||
const bool must_download = image.IsSafeDownload() && False(image.flags & ImageFlagBits::BadOverlap);
|
||||
if (!high_priority_mode && must_download) {
|
||||
return false;
|
||||
}
|
||||
if (image.IsSafeDownload() && False(image.flags & ImageFlagBits::BadOverlap)) {
|
||||
if (must_download) {
|
||||
auto map = runtime.DownloadStagingBuffer(image.unswizzled_size_bytes);
|
||||
const auto copies = FixSmallVectorADL(FullDownloadCopies(image.info));
|
||||
image.DownloadMemory(map, copies);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue