forked from organicmaps/organicmaps
Fixed route graphics reconstruction
This commit is contained in:
parent
9655c5acf8
commit
46ce528e78
1 changed files with 3 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue