mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00
Mark _alias_* textures as FBOs
Currently not supported, but prevents loading from the file, thereby avoiding CAssetLoadException
This commit is contained in:
parent
cee6471b3a
commit
d079eae5ad
@ -451,7 +451,7 @@ void CPass::setupUniforms () {
|
||||
// resolve the texture first
|
||||
const ITexture* textureRef;
|
||||
|
||||
if (textureName.find ("_rt_") == 0) {
|
||||
if (textureName.find ("_rt_") == 0 || textureName.find ("_alias_") == 0) {
|
||||
textureRef = this->getMaterial ()->getEffect ()->findFBO (textureName);
|
||||
|
||||
if (textureRef == nullptr)
|
||||
|
Loading…
Reference in New Issue
Block a user