diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2016-09-07 18:09:21 +0300 |
---|---|---|
committer | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2016-09-07 18:10:12 +0300 |
commit | 83fcab52765b122e709e5ac23b592f6eb4a96654 (patch) | |
tree | 8e73f28d51bade1a6ed102820edaff84eac4da38 /drape_frontend | |
parent | 9158d2a3c66aef4336ba356ceab4f0435a256d65 (diff) |
Fixed crash after reseting of GL resources.
Diffstat (limited to 'drape_frontend')
-rw-r--r-- | drape_frontend/map_shape.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drape_frontend/map_shape.hpp b/drape_frontend/map_shape.hpp index 52579140b8..a26723ffa3 100644 --- a/drape_frontend/map_shape.hpp +++ b/drape_frontend/map_shape.hpp @@ -64,6 +64,7 @@ class TileReadStartMessage : public MapShapeMessage public: TileReadStartMessage(TileKey const & key) : MapShapeMessage(key) {} Type GetType() const override { return Message::TileReadStarted; } + bool IsGLContextDependent() const override { return true; } }; class TileReadEndMessage : public MapShapeMessage @@ -71,6 +72,7 @@ class TileReadEndMessage : public MapShapeMessage public: TileReadEndMessage(TileKey const & key) : MapShapeMessage(key) {} Type GetType() const override { return Message::TileReadEnded; } + bool IsGLContextDependent() const override { return true; } }; class MapShapeReadedMessage : public MapShapeMessage |