disable mip-mapping for canvas texture

This commit is contained in:
MihailRis 2025-03-17 03:46:40 +03:00
parent 5b49c72d12
commit 3a203bd4b0
6 changed files with 14 additions and 7 deletions

View file

@ -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));
}
}