XmlThemeBuilder: disable mipmap for sharper rendering

This commit is contained in:
Emux
2019-09-28 18:29:47 +03:00
parent 3f3caa1912
commit 5facdb9888
4 changed files with 6 additions and 6 deletions

View File

@@ -635,7 +635,7 @@ public class XmlThemeBuilder extends DefaultHandler {
transparent = !transparent;
}
b.texture = new TextureItem(Utils.potBitmap(bitmap));
b.texture.mipmap = true;
//b.texture.mipmap = true;
b.randomOffset = false;
b.stipple = width;
b.stippleWidth = 1;
@@ -653,7 +653,7 @@ public class XmlThemeBuilder extends DefaultHandler {
canvas.setBitmap(bitmap);
canvas.drawBitmap(b.texture.bitmap, b.repeatStart, 0);
b.texture = new TextureItem(Utils.potBitmap(bitmap));
b.texture.mipmap = true;
//b.texture.mipmap = true;
b.fixed = true;
b.randomOffset = false;
b.stipple = width;