mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 12:54:30 +02:00
Fix lower mips not being downloaded after initial mips
This commit is contained in:
parent
4d48cb2e80
commit
9505bf746c
1 changed files with 1 additions and 2 deletions
|
@ -635,8 +635,6 @@ void NetworkTexture::maybeHandleFinishedInitialLoad() {
|
||||||
// images with the same hash being loaded concurrently. Only one of them will make it into the cache by hash first and will
|
// images with the same hash being loaded concurrently. Only one of them will make it into the cache by hash first and will
|
||||||
// be the winner
|
// be the winner
|
||||||
texture = textureCache->cacheTextureByHash(filename, texture);
|
texture = textureCache->cacheTextureByHash(filename, texture);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_lowestKnownPopulatedMip = _originalKtxDescriptor->header.numberOfMipmapLevels;
|
_lowestKnownPopulatedMip = _originalKtxDescriptor->header.numberOfMipmapLevels;
|
||||||
|
@ -660,6 +658,7 @@ void NetworkTexture::maybeHandleFinishedInitialLoad() {
|
||||||
_ktxMipRequest->deleteLater();
|
_ktxMipRequest->deleteLater();
|
||||||
_ktxMipRequest = nullptr;
|
_ktxMipRequest = nullptr;
|
||||||
}
|
}
|
||||||
|
startRequestForNextMipLevel();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue