MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / stopGameRenderer

Method stopGameRenderer

source/render/RenderManager.cpp:161–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161void RenderManager::stopGameRenderer(GameMap* gameMap)
162{
163 // We do not remove the entities from mDummyEntities as it is a workaround avoiding a crash and removing
164 // them can cause the crash to happen
165
166 // Remove the light following the keeper hand
167 if(mHandLight != nullptr)
168 {
169 mSceneManager->destroyLight(mHandLight);
170 mHandLight = nullptr;
171 }
172}
173
174void RenderManager::triggerCompositor(const std::string& compositorName)
175{

Callers 1

activateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected