mirror of
https://github.com/overte-org/overte.git
synced 2025-04-13 13:12:11 +02:00
Disable texture cache processing for now
This commit is contained in:
parent
a2269f488f
commit
61ba2dd11e
1 changed files with 2 additions and 0 deletions
|
@ -91,6 +91,7 @@ gpu::Texture* cacheTexture(const std::string& name, gpu::Texture* srcTexture, bo
|
|||
}
|
||||
gpu::Texture* returnedTexture = srcTexture;
|
||||
|
||||
#if 0
|
||||
auto theKTX = Texture::serialize(*srcTexture);
|
||||
if (theKTX) {
|
||||
// Prepare cache directory
|
||||
|
@ -147,6 +148,7 @@ gpu::Texture* cacheTexture(const std::string& name, gpu::Texture* srcTexture, bo
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return returnedTexture;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue