cocos2d-x
cocos2d-x copied to clipboard
fix memory leaking and avoid crash at RenderTexture
Fix #20529 and #20530 .
- just add
texture->release(); - avoid to use
_texture2Din callback.