diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2018-08-27 12:37:52 +0300 |
---|---|---|
committer | Aleksey Belousov <beloal@users.noreply.github.com> | 2018-09-25 12:33:08 +0300 |
commit | a81f1fc4d1f698a0f0aaaa1e7a29f41516b05d11 (patch) | |
tree | cf7c511247ca2ae4da08e2a11d2b22232846a3da /drape/viewport.hpp | |
parent | 5cca83542d89b081d668bccca7bf14c5c8c165ad (diff) |
[drape][metal] Added states.
Diffstat (limited to 'drape/viewport.hpp')
-rw-r--r-- | drape/viewport.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drape/viewport.hpp b/drape/viewport.hpp index 65dcffffa3..2db5820740 100644 --- a/drape/viewport.hpp +++ b/drape/viewport.hpp @@ -1,5 +1,7 @@ #pragma once +#include "drape/graphics_context.hpp" + #include "geometry/point2d.hpp" namespace dp @@ -22,7 +24,7 @@ public: uint32_t GetHeight() const; // Apply viewport to graphics pipeline with convert start point and size to physical pixels. - void Apply() const; + void Apply(ref_ptr<dp::GraphicsContext> context) const; private: m2::PointU m_zero; |