mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
refactor + auto max atlas resolution
This commit is contained in:
parent
befc9cf09c
commit
eb70e1c0df
7 changed files with 46 additions and 12 deletions
|
|
@ -102,7 +102,7 @@ assetload::postfunc assetload::atlas(
|
|||
continue;
|
||||
}
|
||||
std::set<std::string> names = builder.getNames();
|
||||
Atlas* atlas = builder.build(2);
|
||||
Atlas* atlas = builder.build(2, false);
|
||||
return [=](auto assets) {
|
||||
atlas->prepare();
|
||||
assets->store(atlas, name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue