From 090677a905ec8cce3139509ef12734fa781563fe Mon Sep 17 00:00:00 2001 From: Tobrun Date: Wed, 19 Apr 2017 17:39:18 +0200 Subject: [PATCH] [android] - set firsRender flag to false when destroying the surface (#8739) --- platform/android/src/native_map_view.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/android/src/native_map_view.cpp b/platform/android/src/native_map_view.cpp index a5699e33c..537979beb 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);