diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-03-17 17:13:05 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2020-03-18 20:14:15 +0200 |
commit | b48900b0a71a94a1f184df926f6e3fe22f73d647 (patch) | |
tree | 57828d73ae02dd814a0244902d5c1f508effe883 /src/mbgl/geometry | |
parent | 3536de51244d8f7df3e21b5c5ae4971825ddeb4b (diff) | |
download | qtlocation-mapboxgl-b48900b0a71a94a1f184df926f6e3fe22f73d647.tar.gz |
[core] Add RenderOrchestrator::clearData()
Diffstat (limited to 'src/mbgl/geometry')
-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; |