From 1480f275617b0cfe0b8a11ed61767b57d64662c7 Mon Sep 17 00:00:00 2001 From: Tobrun Van Nuland Date: Thu, 13 Apr 2017 12:29:32 +0200 Subject: [PATCH] [android] - set firsRender flag to false when destroying the surface --- 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 5e202221b69..6ec5654e9d6 100755 --- a/platform/android/src/native_map_view.cpp +++ b/platform/android/src/native_map_view.cpp @@ -1416,6 +1416,7 @@ void NativeMapView::_destroySurface() { } surface = EGL_NO_SURFACE; + firstRender = true; if (window != nullptr) { ANativeWindow_release(window);