Skip to content

Commit

Permalink
Mark _alias_* textures as FBOs
Browse files Browse the repository at this point in the history
Currently not supported, but prevents loading from the file, thereby
avoiding CAssetLoadException
  • Loading branch information
moetayuko committed Sep 1, 2024
1 parent cee6471 commit d079eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WallpaperEngine/Render/Objects/Effects/CPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d079eae

Please sign in to comment.