Notify failures when loading the sprite JSON and image
This commit is contained in:
@@ -126,6 +126,10 @@ void ResourceLoader::onSpriteLoaded() {
|
||||
emitTileDataChanged();
|
||||
}
|
||||
|
||||
void ResourceLoader::onSpriteLoadingFailed(std::exception_ptr error) {
|
||||
emitResourceLoadingFailed(error);
|
||||
}
|
||||
|
||||
void ResourceLoader::emitTileDataChanged() {
|
||||
assert(Environment::currentlyOn(ThreadType::Map));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user