diff options
Diffstat (limited to 'test/style')
-rw-r--r-- | test/style/resource_loading.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/style/resource_loading.cpp b/test/style/resource_loading.cpp index 071df09338..8c92a1d099 100644 --- a/test/style/resource_loading.cpp +++ b/test/style/resource_loading.cpp @@ -32,7 +32,7 @@ public: transform_.setLatLngZoom({0, 0}, 16); const std::string style = util::read_file("test/fixtures/resources/style.json"); - style_ = std::make_unique<Style>(style, "", util::RunLoop::getLoop()); + style_ = std::make_unique<Style>(style, "", data_, util::RunLoop::getLoop()); style_->setObserver(this); } @@ -46,7 +46,7 @@ public: data_.setAnimationTime(now); transform_.updateTransitions(now); - style_->update(data_, transform_.getState(), texturePool_); + style_->update(transform_.getState(), texturePool_); } // Style::Observer implementation. |