void bento::AbstractValidatable::Invalidate() { if (m_isInvalid) return; m_isInvalid = true; OnInvalidate(); }
ZClothEmblem::~ZClothEmblem(void) { SAFE_DELETE(mpWind); SAFE_DELETE(mpLight); for( list<sRestriction*>::iterator iter = mRestrictionList.begin() ; iter != mRestrictionList.end(); ) { sRestriction* p = *iter; SAFE_DELETE(p); iter = mRestrictionList.erase(iter); } //SAFE_RELEASE(mIndexBuffer); --msRef; if(msRef==0) OnInvalidate(); }
void ZEffectBase::ReleaseBuffers() { OnInvalidate(); }