Added method GL::ResourceManager::destroyAllResources.