mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
disable mip-mapping for canvas texture
This commit is contained in:
parent
5b49c72d12
commit
3a203bd4b0
6 changed files with 14 additions and 7 deletions
|
|
@ -165,7 +165,7 @@ assetload::postfunc assetload::font(
|
|||
textures.emplace_back(nullptr);
|
||||
} else {
|
||||
auto texture = Texture::from(page.get());
|
||||
texture->setMipMapping(false);
|
||||
texture->setMipMapping(false, true);
|
||||
textures.emplace_back(std::move(texture));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue