forked from organicmaps/organicmaps
[ANDROID] fixed flickering as in issue #333.
This commit is contained in:
parent
5cd0bf69a6
commit
059fbab0fd
2 changed files with 3 additions and 1 deletions
|
@ -129,6 +129,8 @@ namespace android
|
|||
m_work.BeginPaint(paintEvent);
|
||||
m_work.DoPaint(paintEvent);
|
||||
|
||||
NVEventSwapBuffersEGL();
|
||||
|
||||
m_work.EndPaint(paintEvent);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -130,7 +130,7 @@ bool renderFrame(bool allocateIfNeeded)
|
|||
// if (s_glesAutopaused)
|
||||
// renderPauseScreen();
|
||||
|
||||
NVEventSwapBuffersEGL();
|
||||
// NVEventSwapBuffersEGL();
|
||||
|
||||
// A debug printout every 256 frames so we can see when we're
|
||||
// actively rendering and swapping
|
||||
|
|
Loading…
Add table
Reference in a new issue