From 609739e153bd12b17165f1394ad191b3a3c9e0de Mon Sep 17 00:00:00 2001 From: Peter Tissen Date: Mon, 8 Jun 2015 19:11:07 +0200 Subject: [PATCH] ignore UIScale for reading raw image pixels --- src/itdelatrisu/opsu/render/CurveRenderState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/itdelatrisu/opsu/render/CurveRenderState.java b/src/itdelatrisu/opsu/render/CurveRenderState.java index e45c1515..b5062d5b 100644 --- a/src/itdelatrisu/opsu/render/CurveRenderState.java +++ b/src/itdelatrisu/opsu/render/CurveRenderState.java @@ -365,7 +365,7 @@ public class CurveRenderState { { if(gradientTexture == 0) { - Image slider = GameImage.SLIDER_GRADIENT.getImage(); + Image slider = GameImage.SLIDER_GRADIENT.getImage().getScaledCopy(1.0f/GameImage.getUIscale()); staticState.gradientTexture = GL11.glGenTextures(); ByteBuffer buff = BufferUtils.createByteBuffer(slider.getWidth()*4); for(int i=0 ; i< slider.getWidth(); ++i)