Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
1993eb9bcc
2 changed files with 3 additions and 0 deletions
|
@ -491,6 +491,8 @@ public class GLActivity extends Activity {
|
||||||
|
|
||||||
if (_mapRenderer.prepareFrame())
|
if (_mapRenderer.prepareFrame())
|
||||||
_mapRenderer.renderFrame();
|
_mapRenderer.renderFrame();
|
||||||
|
|
||||||
|
gl.glFlush();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,6 +42,7 @@ public class NativeRenderer implements GLSurfaceView.Renderer {
|
||||||
mapRenderer.update();
|
mapRenderer.update();
|
||||||
if (mapRenderer.prepareFrame())
|
if (mapRenderer.prepareFrame())
|
||||||
mapRenderer.renderFrame();
|
mapRenderer.renderFrame();
|
||||||
|
gl.glFlush();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue