diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-07-19 17:59:50 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-07-20 08:58:50 -0700 |
commit | b43e1ae12328e8a36a9a36c03e49e1db0a395189 (patch) | |
tree | df0cb8d9a44406578107fb9c07d5c34324160f45 /test/renderer | |
parent | d3628449460a0918e9e89c81e1baba31c4acffe0 (diff) | |
download | qtlocation-mapboxgl-b43e1ae12328e8a36a9a36c03e49e1db0a395189.tar.gz |
[core] Correctly track sprite loaded state through smart setStyle
Diffstat (limited to 'test/renderer')
-rw-r--r-- | test/renderer/image_manager.test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/renderer/image_manager.test.cpp b/test/renderer/image_manager.test.cpp index 203e05d492..5e6da5c005 100644 --- a/test/renderer/image_manager.test.cpp +++ b/test/renderer/image_manager.test.cpp @@ -127,7 +127,7 @@ TEST(ImageManager, NotifiesRequestorWhenSpriteIsLoaded) { imageManager.getImages(requestor, {"one"}); ASSERT_FALSE(notified); - imageManager.onSpriteLoaded(); + imageManager.setLoaded(true); ASSERT_TRUE(notified); } |