mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +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
|
|
@ -17,6 +17,7 @@ LuaCanvas::LuaCanvas(
|
|||
|
||||
void LuaCanvas::createTexture() {
|
||||
mTexture = Texture::from(mData.get());
|
||||
mTexture->setMipMapping(false, true);
|
||||
}
|
||||
|
||||
union RGBA {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue