mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 13:24:02 +02:00
Update NetworkTexture to automatically download all mips
This commit is contained in:
parent
a2f7a88433
commit
d338ccac26
1 changed files with 1 additions and 0 deletions
|
@ -276,6 +276,7 @@ NetworkTexture::NetworkTexture(const QUrl& url, image::TextureUsage::Type type,
|
||||||
_maxNumPixels(maxNumPixels)
|
_maxNumPixels(maxNumPixels)
|
||||||
{
|
{
|
||||||
_textureSource = std::make_shared<gpu::TextureSource>();
|
_textureSource = std::make_shared<gpu::TextureSource>();
|
||||||
|
_lowestRequestedMipLevel = 0;
|
||||||
|
|
||||||
if (!url.isValid()) {
|
if (!url.isValid()) {
|
||||||
_loaded = true;
|
_loaded = true;
|
||||||
|
|
Loading…
Reference in a new issue