mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
world previews demo
This commit is contained in:
parent
5afa5304ff
commit
6e2bc9ca95
24 changed files with 153 additions and 59 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue