diff options
-rw-r--r-- | platform/android/src/map_renderer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/android/src/map_renderer.cpp b/platform/android/src/map_renderer.cpp index b2186e6272..0db41ffe8a 100644 --- a/platform/android/src/map_renderer.cpp +++ b/platform/android/src/map_renderer.cpp @@ -113,6 +113,7 @@ void MapRenderer::onSurfaceCreated(JNIEnv&) { // GL resources if this is not the first intialization and an // attempt to clean them up will fail if (backend) backend->markContextLost(); + if (renderer) renderer->markContextLost(); // Reset in opposite order renderer.reset(); |