mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +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
|
|
@ -143,6 +143,5 @@ std::unique_ptr<Atlas> BlocksPreview::build(
|
|||
|
||||
Window::viewport(0, 0, Window::width, Window::height);
|
||||
auto newAtlas = std::unique_ptr<Atlas>(builder.build(2));
|
||||
newAtlas->prepare();
|
||||
return newAtlas;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue