diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2013-07-14 22:13:44 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:59:19 +0300 |
commit | 68d75aeeb4410d126eaae6eb61de1265962bf879 (patch) | |
tree | 93979e36e61d99191431f9122c45230849d514b2 /gui | |
parent | 4de329aa5b8c9c5f131c2c0109e3c2a94acb5599 (diff) |
add map_server project. Simple png generation
Diffstat (limited to 'gui')
-rw-r--r-- | gui/controller.cpp | 3 |
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>(); |