forked from organicmaps/organicmaps
Fixed crash on entering background
This commit is contained in:
parent
b466c4548c
commit
0ada7b097f
1 changed files with 3 additions and 1 deletions
|
@ -1464,7 +1464,9 @@ void FrontendRenderer::Routine::Do()
|
|||
while (availableTime > 0);
|
||||
}
|
||||
|
||||
context->present();
|
||||
if (m_renderer.IsRenderingEnabled())
|
||||
context->present();
|
||||
|
||||
frameTime = timer.ElapsedSeconds();
|
||||
timer.Reset();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue