void TreeGeneratorCanvas::OnResetDevice() { Driver* driver = gEngine->GetDriver(); if(!driver->Reset()) return; if(mTree) mTree->OnResetDevice(); }