Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/map
diff options
context:
space:
mode:
authorAlexander Marchuk <alexm@maps.me>2016-06-08 12:48:00 +0300
committerAlexander Marchuk <alexm@maps.me>2016-06-16 16:05:32 +0300
commitba2823d1dc3b1c8b01513fb450190496dc81a857 (patch)
tree53b83f649454345a4b8d9e73ffd3e1c153ed298a /map
parent8e739085653fad692db300f13c613e475082011b (diff)
[android][locator] refactor: Handle MyPosition state without engine also.
Diffstat (limited to 'map')
-rw-r--r--map/framework.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/map/framework.hpp b/map/framework.hpp
index 08aa65f130..b528efb8a5 100644
--- a/map/framework.hpp
+++ b/map/framework.hpp
@@ -350,6 +350,7 @@ public:
void CreateDrapeEngine(ref_ptr<dp::OGLContextFactory> contextFactory, DrapeCreationParams && params);
ref_ptr<df::DrapeEngine> GetDrapeEngine();
+ bool IsDrapeEngineCreated() const { return m_drapeEngine && m_drapeEngine.get(); }
void DestroyDrapeEngine();
/// Called when graphics engine should be temporarily paused and then resumed.
void SetRenderingEnabled(bool enable);