diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2014-09-16 18:00:52 -0400 |
---|---|---|
committer | Mike Morris <michael.patrick.morris@gmail.com> | 2014-09-16 18:00:52 -0400 |
commit | 9d369ec742f00e35fea97fe24415ecaaaad1f01a (patch) | |
tree | 2b8872a2a53d5eb72917b37895dd5598ff556d30 /src | |
parent | 70aaf8d343ab0dc80993038bd13148b20de0b83e (diff) | |
download | qtlocation-mapboxgl-9d369ec742f00e35fea97fe24415ecaaaad1f01a.tar.gz |
dont make_active when clearing buffers, call make_inactive at end of Map::prepare()
Diffstat (limited to 'src')
-rw-r--r-- | src/map/map.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp index 10310ee165..64940af9e2 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -154,7 +154,6 @@ void Map::cleanup(uv_async_t *async, int status) { void Map::terminate() { view.make_active(); painter.terminate(); - view.make_inactive(); } void Map::render(uv_async_t *async, int status) { @@ -545,6 +544,8 @@ void Map::prepare() { spriteAtlas->update(*getSprite()); updateTiles(); + + view.make_inactive(); } void Map::render() { |