From 83fcab52765b122e709e5ac23b592f6eb4a96654 Mon Sep 17 00:00:00 2001 From: Daria Volvenkova Date: Wed, 7 Sep 2016 18:09:21 +0300 Subject: [PATCH] Fixed crash after reseting of GL resources. --- drape_frontend/map_shape.hpp | 2 ++ 1 file changed, 2 insertions(+) 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