use IntrusivePtr to share object (#11729)

This commit is contained in:
minggo
2022-06-28 18:01:47 +08:00
committed by GitHub
parent d008270ef3
commit 8caec59711
40 changed files with 83 additions and 116 deletions
@@ -41,7 +41,6 @@ PipelineLayoutValidator::PipelineLayoutValidator(PipelineLayout *actor)
PipelineLayoutValidator::~PipelineLayoutValidator() {
DeviceResourceTracker<PipelineLayout>::erase(this);
CC_SAFE_DELETE(_actor);
}
void PipelineLayoutValidator::doInit(const PipelineLayoutInfo &info) {