Mark _alias_* textures as FBOs

Currently not supported, but prevents loading from the file, thereby
avoiding CAssetLoadException
This commit is contained in:
Moeta Yuko 2024-09-01 22:12:38 +08:00
parent cee6471b3a
commit d079eae5ad

View File

@ -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)