summaryrefslogtreecommitdiff
path: root/platform/android/src/android_renderer_backend.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/android_renderer_backend.hpp')
-rwxr-xr-xplatform/android/src/android_renderer_backend.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/android/src/android_renderer_backend.hpp b/platform/android/src/android_renderer_backend.hpp
index 8dbc1f2be8..c5c552459f 100755
--- a/platform/android/src/android_renderer_backend.hpp
+++ b/platform/android/src/android_renderer_backend.hpp
@@ -13,6 +13,10 @@ public:
void updateAssumedState() override;
mbgl::Size getFramebufferSize() const override;
+ // Ensures the current context is not
+ // cleaned up when destroyed
+ void markContextLost();
+
void updateViewPort();
void resizeFramebuffer(int width, int height);