From a5d835f2f41887c61a6394e4a61e743c0672ab6c Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 19 Oct 2016 02:20:32 -0400 Subject: [PATCH] v0.4.3a: reduced the blurriness of power saver on 4x scale devices --- .../shatteredpixeldungeon/ShatteredPixelDungeon.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ShatteredPixelDungeon.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ShatteredPixelDungeon.java index 08ce2f2a1..c47ed1f01 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ShatteredPixelDungeon.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ShatteredPixelDungeon.java @@ -343,8 +343,8 @@ public class ShatteredPixelDungeon extends Game { int maxZoom = (int)Math.min(dispWidth/renderWidth, dispHeight/renderHeight); - renderWidth *= Math.max( 2, Math.round(maxZoom/2f)); - renderHeight *= Math.max( 2, Math.round(maxZoom/2f)); + renderWidth *= Math.max( 2, Math.round(1f + maxZoom*0.4f)); + renderHeight *= Math.max( 2, Math.round(1f + maxZoom*0.4f)); if (dispRatio > renderWidth / renderHeight){ renderWidth = renderHeight * dispRatio;