Fixed route graphics reconstruction

This commit is contained in:
r.kuznetsov 2015-08-10 16:24:24 +03:00 committed by Alex Zolotarev
parent 9655c5acf8
commit 46ce528e78

View file

@ -319,7 +319,9 @@ void RouteRenderer::ClearRoute(graphics::Screen * dlScreen)
void RouteRenderer::PrepareToShutdown()
{
DestroyDisplayLists();
m_waitForConstruction = true;
if (!m_routeData.m_geometry.empty())
m_waitForConstruction = true;
}
void RouteRenderer::DestroyDisplayLists()