mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
disable mip-mapping in fonts
This commit is contained in:
parent
db565d23a7
commit
0a8ea7e597
4 changed files with 22 additions and 2 deletions
|
|
@ -151,7 +151,9 @@ assetload::postfunc assetload::font(
|
|||
if (page == nullptr) {
|
||||
textures.emplace_back(nullptr);
|
||||
} else {
|
||||
textures.emplace_back(Texture::from(page.get()));
|
||||
auto texture = Texture::from(page.get());
|
||||
texture->setMipMapping(false);
|
||||
textures.emplace_back(std::move(texture));
|
||||
}
|
||||
}
|
||||
assets->store(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue