diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2014-10-22 14:25:10 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2014-10-29 09:58:03 -0400 |
commit | 4f7bc80664c29d7f15598392946ff0ac73dd520c (patch) | |
tree | 442be95bf64172dbb22d4b5fdad0299aa699cbdb /src/map/map.cpp | |
parent | 14829db508035426ef8a38d1f8dc83a8ccf60b0f (diff) | |
download | qtlocation-mapboxgl-4f7bc80664c29d7f15598392946ff0ac73dd520c.tar.gz |
Hold internal reference to Sprite in SpriteAtlas
Diffstat (limited to 'src/map/map.cpp')
-rw-r--r-- | src/map/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp index 2f0dceb427..82108d0006 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -646,7 +646,7 @@ void Map::prepare() { // Allow the sprite atlas to potentially pull new sprite images if needed. spriteAtlas->resize(state.getPixelRatio()); - spriteAtlas->update(*getSprite()); + spriteAtlas->setSprite(getSprite()); updateTiles(); } |