diff options
Diffstat (limited to 'src/mbgl/style/style.hpp')
-rw-r--r-- | src/mbgl/style/style.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mbgl/style/style.hpp b/src/mbgl/style/style.hpp index 36ccd1f30e..80623eff8f 100644 --- a/src/mbgl/style/style.hpp +++ b/src/mbgl/style/style.hpp @@ -30,6 +30,7 @@ class LineAtlas; class RenderData; class TransformState; class RenderedQueryOptions; +class Scheduler; namespace style { @@ -43,7 +44,7 @@ class Style : public GlyphAtlasObserver, public LayerObserver, public util::noncopyable { public: - Style(FileSource&, float pixelRatio); + Style(Scheduler&, FileSource&, float pixelRatio); ~Style() override; void setJSON(const std::string&); @@ -108,6 +109,7 @@ public: void dumpDebugLogs() const; + Scheduler& scheduler; FileSource& fileSource; std::unique_ptr<GlyphAtlas> glyphAtlas; std::unique_ptr<SpriteAtlas> spriteAtlas; |