summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-05-14 18:11:05 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-05-14 18:15:54 -0700
commitc1d004b8fbc693c5c4d9deb02e576bde7e9f62ba (patch)
tree38506497b778dab2971f3011e70faa601dfe6283 /src
parent5aa5976a712bc783b5e077abaacab0a62e5ca9eb (diff)
downloadqtlocation-mapboxgl-c1d004b8fbc693c5c4d9deb02e576bde7e9f62ba.tar.gz
Restore sprite load check
This is necessary to ensure that background and fill images are ready to render. Fixes #1563
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/map/map_context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/map/map_context.cpp b/src/mbgl/map/map_context.cpp
index 087b9ae9bf..38a4104e72 100644
--- a/src/mbgl/map/map_context.cpp
+++ b/src/mbgl/map/map_context.cpp
@@ -181,7 +181,7 @@ void MapContext::update() {
updateTiles();
- if (style->isLoaded()) {
+ if (style->isLoaded() && resourceLoader->getSprite()->isLoaded()) {
if (!data.getFullyLoaded()) {
data.setFullyLoaded(true);
}