Restore sprite load check

This is necessary to ensure that background and fill images are ready
to render.

Fixes #1563
This commit is contained in:
John Firebaugh
2015-05-14 18:11:05 -07:00
parent 5aa5976a71
commit c1d004b8fb
2 changed files with 2 additions and 2 deletions

View File

@@ -181,7 +181,7 @@ void MapContext::update() {
updateTiles();
if (style->isLoaded()) {
if (style->isLoaded() && resourceLoader->getSprite()->isLoaded()) {
if (!data.getFullyLoaded()) {
data.setFullyLoaded(true);
}