[core] remove Raster object in favor of a more low-level Texture object

This commit is contained in:
Konstantin Käfer
2016-10-04 12:45:11 +02:00
committed by John Firebaugh
parent e103d92b18
commit 07315711d6
13 changed files with 116 additions and 190 deletions

View File

@@ -16,8 +16,7 @@ void RasterTileWorker::parse(std::shared_ptr<const std::string> data) {
}
try {
auto bucket = std::make_unique<RasterBucket>();
bucket->setImage(decodeImage(*data));
auto bucket = std::make_unique<RasterBucket>(decodeImage(*data));
parent.invoke(&RasterTile::onParsed, std::move(bucket));
} catch (...) {
parent.invoke(&RasterTile::setError, std::current_exception());