summaryrefslogtreecommitdiff
path: root/platform/android/src/map_renderer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/map_renderer.hpp')
-rw-r--r--platform/android/src/map_renderer.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/platform/android/src/map_renderer.hpp b/platform/android/src/map_renderer.hpp
index 8c2f28a4df..0c3c01b93e 100644
--- a/platform/android/src/map_renderer.hpp
+++ b/platform/android/src/map_renderer.hpp
@@ -90,11 +90,13 @@ private:
// Renders a frame.
void render(JNIEnv&);
- void onSurfaceCreated(JNIEnv&);
-
void onSurfaceChanged(JNIEnv&, jint width, jint height);
- // Called on Main thread
+ void createRenderer();
+
+ // Called from the Main thread //
+ void onSurfaceCreated(JNIEnv&);
+
void onSurfaceDestroyed(JNIEnv&);
private: