refactor + auto max atlas resolution

This commit is contained in:
MihailRis
2024-04-10 18:18:55 +03:00
parent befc9cf09c
commit eb70e1c0df
7 changed files with 46 additions and 12 deletions
-1
View File
@@ -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;
}