diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2015-08-30 22:31:54 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2015-09-02 23:20:47 +0300 |
commit | 0ff7cf20e971be584410973eb6727e12550604f9 (patch) | |
tree | 824300bc8f91e1afb65c2d2dc27a80c1efd3c502 /platform | |
parent | 0b501e056697249ae080a686dd0047eb2060eaf9 (diff) | |
download | qtlocation-mapboxgl-0ff7cf20e971be584410973eb6727e12550604f9.tar.gz |
Get rid of MapData::{get,set}NeedsRepaint
Diffstat (limited to 'platform')
-rw-r--r-- | platform/default/glfw_view.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/glfw_view.cpp b/platform/default/glfw_view.cpp index 74fee8c7d5..cf7bb01213 100644 --- a/platform/default/glfw_view.cpp +++ b/platform/default/glfw_view.cpp @@ -350,7 +350,7 @@ void GLFWView::run() { map->renderSync(); report(1000 * (glfwGetTime() - started)); if (benchmark) { - map->setNeedsRepaint(); + map->update(mbgl::Update::Repaint); } } } |