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
diff options
context:
space:
mode:
authorExMix <rahuba.youri@mapswithme.com>2014-12-31 16:07:14 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:35:46 +0300
commit57421b2b67dae1d77d01f2ce53b35bed89696fee (patch)
treeb17068002f97919b753ad73af9f1d83932be7155 /drape/oglcontext.hpp
parentb9d70e55cfcd25ba45eba22b6dead126b66d6e65 (diff)
[ios, drape] fix non-proportional image scale on ios 8
Diffstat (limited to 'drape/oglcontext.hpp')
-rw-r--r--drape/oglcontext.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/drape/oglcontext.hpp b/drape/oglcontext.hpp
index 5581a75a0e..57deae0732 100644
--- a/drape/oglcontext.hpp
+++ b/drape/oglcontext.hpp
@@ -10,6 +10,8 @@ public:
virtual void present() = 0;
virtual void makeCurrent() = 0;
virtual void setDefaultFramebuffer() = 0;
+ /// @ param w, h - pixel size of render target (logical size * visual scale)
+ virtual void resize(int w, int h) {}
};
} // namespace dp