Adaptor::Get().RegisterProcessor(*this, true);
}
}
- else
- {
- // Given textureId might exist at load queue.
- // Remove observer from the LoadQueue
- for(auto&& element : mLoadQueue)
- {
- if(element.mObserver == observer)
- {
- element.mObserver = nullptr;
- break;
- }
- }
- }
}
}
observer->DestructionSignal().Disconnect(this, &TextureManager::ObserverDestroyed);
textureInfo.observerList.Erase(iter);
}
- else
- {
- // Given textureId might exist at load queue.
- // Remove observer from the LoadQueue
- for(auto&& element : mLoadQueue)
- {
- if(element.mObserver == observer)
- {
- element.mObserver = nullptr;
- break;
- }
- }
- }
}
}