mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-05-10 19:41:39 +00:00
attempt fix filtering???
This commit is contained in:
parent
d76a7812e0
commit
808e35a4af
1 changed files with 2 additions and 1 deletions
|
|
@ -312,7 +312,8 @@ class ResourceLoader {
|
||||||
texObj.flags.set(MipMapped);
|
texObj.flags.set(MipMapped);
|
||||||
}
|
}
|
||||||
var tex = img.toTexture();
|
var tex = img.toTexture();
|
||||||
tex.mipMap = Nearest;
|
tex.mipMap = Linear;
|
||||||
|
tex.filter = Linear;
|
||||||
// tex.filter = Nearest;
|
// tex.filter = Nearest;
|
||||||
var textureresource = new Resource(tex, path, textureCache, tex -> tex.dispose());
|
var textureresource = new Resource(tex, path, textureCache, tex -> tex.dispose());
|
||||||
textureCache.set(path, textureresource);
|
textureCache.set(path, textureresource);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue