mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-03 01:12:42 +08:00
Use raw pointer (#11804)
* Revert "use IntrusivePtr to share object (#11729)"
This reverts commit 8caec59711.
* Framebuffer uses weak reference
* make doDestroy reentency
This commit is contained in:
@@ -42,6 +42,7 @@ FramebufferValidator::FramebufferValidator(Framebuffer *actor)
|
||||
|
||||
FramebufferValidator::~FramebufferValidator() {
|
||||
DeviceResourceTracker<Framebuffer>::erase(this);
|
||||
CC_SAFE_DELETE(_actor);
|
||||
}
|
||||
|
||||
void FramebufferValidator::doInit(const FramebufferInfo &info) {
|
||||
|
||||
Reference in New Issue
Block a user