summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorTobrun <tobrun@mapbox.com>2017-04-19 17:39:18 +0200
committerGitHub <noreply@github.com>2017-04-19 17:39:18 +0200
commit090677a905ec8cce3139509ef12734fa781563fe (patch)
tree2868dfede8e9effd9286150fd1e131be4439c590 /platform
parentfdee13b42944188107317e4885ee5a130c890fe9 (diff)
downloadqtlocation-mapboxgl-090677a905ec8cce3139509ef12734fa781563fe.tar.gz
[android] - set firsRender flag to false when destroying the surface (#8739)
Diffstat (limited to 'platform')
-rwxr-xr-xplatform/android/src/native_map_view.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/android/src/native_map_view.cpp b/platform/android/src/native_map_view.cpp
index a5699e33c1..537979bebc 100755
--- a/platform/android/src/native_map_view.cpp
+++ b/platform/android/src/native_map_view.cpp
@@ -1412,6 +1412,7 @@ void NativeMapView::_destroySurface() {
}
surface = EGL_NO_SURFACE;
+ firstRender = true;
if (window != nullptr) {
ANativeWindow_release(window);