This commit is contained in:
halx99 2024-09-27 21:40:24 +08:00 committed by GitHub
parent ca12633ca8
commit 08b1657e14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ void RenderTexture::listenToBackground(EventCustom* /*event*/)
#if AX_ENABLE_CACHE_TEXTURE_DATA
if (!_cachedTextureDirty)
return;
_cachedTextureDirty = false;
// to get the rendered texture data
auto func = [&](RefPtr<Image> uiTextureImage) {
if (uiTextureImage)