summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-07-01 18:13:16 +0200
committerKonstantin Käfer <mail@kkaefer.com>2015-07-08 19:46:00 +0200
commitafaf74e41a53f6f36a3ab991b83eccf91ebab4ca (patch)
tree36990436cb054266bc363cd2789a452ae5754726 /test
parentd2ee014c6e15e24aabf0ce600fb61d738cc6cb38 (diff)
downloadqtlocation-mapboxgl-afaf74e41a53f6f36a3ab991b83eccf91ebab4ca.tar.gz
use SpriteStore from the SpriteAtlas
Diffstat (limited to 'test')
-rw-r--r--test/style/resource_loading.cpp4
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.