diff options
Diffstat (limited to 'src/mbgl/geometry/line_atlas.hpp')
-rw-r--r-- | src/mbgl/geometry/line_atlas.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/geometry/line_atlas.hpp b/src/mbgl/geometry/line_atlas.hpp index 1be7cbf073..0ac5a489ce 100644 --- a/src/mbgl/geometry/line_atlas.hpp +++ b/src/mbgl/geometry/line_atlas.hpp @@ -69,6 +69,8 @@ public: // Uploads the textures to the GPU to be available when we need it. void upload(gfx::UploadPass&); + bool isEmpty() const { return textures.empty(); } + private: std::map<size_t, DashPatternTexture> textures; |