mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
clang warnings fix + minor refactor
This commit is contained in:
parent
3ebd8f3062
commit
adf54b8a38
8 changed files with 53 additions and 49 deletions
|
|
@ -120,7 +120,7 @@ assetload::postfunc assetload::font(
|
|||
for (size_t i = 0; i <= 4; i++) {
|
||||
std::string name = filename + "_" + std::to_string(i) + ".png";
|
||||
name = paths->find(name).string();
|
||||
pages->push_back(std::move(imageio::read(name)));
|
||||
pages->push_back(imageio::read(name));
|
||||
}
|
||||
return [=](auto assets) {
|
||||
int res = pages->at(0)->getHeight() / 16;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue