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:
@@ -181,7 +181,7 @@ void MapContext::update() {
|
||||
|
||||
updateTiles();
|
||||
|
||||
if (style->isLoaded()) {
|
||||
if (style->isLoaded() && resourceLoader->getSprite()->isLoaded()) {
|
||||
if (!data.getFullyLoaded()) {
|
||||
data.setFullyLoaded(true);
|
||||
}
|
||||
|
||||
Submodule test/suite updated: 769c4c9c23...0aa5ff62f3
Reference in New Issue
Block a user