summaryrefslogtreecommitdiff
path: root/platform/android/src/map_renderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/map_renderer.cpp')
-rw-r--r--platform/android/src/map_renderer.cpp1
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();