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/gui
diff options
context:
space:
mode:
authorExMix <rahuba.youri@mapswithme.com>2013-07-14 22:13:44 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:59:19 +0300
commit68d75aeeb4410d126eaae6eb61de1265962bf879 (patch)
tree93979e36e61d99191431f9122c45230849d514b2 /gui
parent4de329aa5b8c9c5f131c2c0109e3c2a94acb5599 (diff)
add map_server project. Simple png generation
Diffstat (limited to 'gui')
-rw-r--r--gui/controller.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/controller.cpp b/gui/controller.cpp
index 606ba0c556..d293adbb50 100644
--- a/gui/controller.cpp
+++ b/gui/controller.cpp
@@ -183,6 +183,9 @@ namespace gui
void Controller::DrawFrame(graphics::Screen * screen)
{
+ if (m_CacheScreen == NULL)
+ return;
+
screen->beginFrame();
math::Matrix<double, 3, 3> m = math::Identity<double, 3>();