diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-05-04 18:27:48 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-05-04 18:27:48 -0700 |
commit | 00a1f44cfc4a379af0894638774eba0173d44960 (patch) | |
tree | c773cb494d9eef7ffb7bfd905da75fd587847029 /include | |
parent | da8aaa2114f4bbc8d0b2ee8308e440f0b7e8c4fa (diff) | |
download | qtlocation-mapboxgl-00a1f44cfc4a379af0894638774eba0173d44960.tar.gz |
Ensure no GL commands are executed after pause
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/android/native_map_view.hpp | 2 | ||||
-rw-r--r-- | include/mbgl/map/map.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/android/native_map_view.hpp b/include/mbgl/android/native_map_view.hpp index a050ad1496..c6f0c7b351 100644 --- a/include/mbgl/android/native_map_view.hpp +++ b/include/mbgl/android/native_map_view.hpp @@ -40,7 +40,7 @@ public: void destroySurface(); void resume(); - void pause(bool waitForPause = false); + void pause(); void enableFps(bool enable); void updateFps(); diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index a15da5178b..5dc463f24f 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -36,7 +36,7 @@ public: ~Map(); // Pauses the render thread. The render thread will stop running but will not be terminated and will not lose state until resumed. - void pause(bool waitForPause = false); + void pause(); // Resumes a paused render thread void resume(); |