world previews demo
This commit is contained in:
@@ -77,8 +77,7 @@ static bool appendAtlas(AtlasBuilder& atlas, const fs::path& file) {
|
||||
}
|
||||
auto image = imageio::read(file.string());
|
||||
image->fixAlphaColor();
|
||||
atlas.add(name, image.release());
|
||||
|
||||
atlas.add(name, std::move(image));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user