From 6bc6441985b46f025ad77caf7950e4777e447cc2 Mon Sep 17 00:00:00 2001 From: Jeffrey Han Date: Mon, 19 Dec 2016 14:17:41 -0500 Subject: [PATCH] Follow-up to #216. Signed-off-by: Jeffrey Han --- src/itdelatrisu/opsu/objects/curves/Curve.java | 2 +- src/itdelatrisu/opsu/render/CurveRenderState.java | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/itdelatrisu/opsu/objects/curves/Curve.java b/src/itdelatrisu/opsu/objects/curves/Curve.java index 88e6babd..a74e08bc 100644 --- a/src/itdelatrisu/opsu/objects/curves/Curve.java +++ b/src/itdelatrisu/opsu/objects/curves/Curve.java @@ -100,7 +100,7 @@ public abstract class Curve { CurveRenderState.init(width, height, circleDiameter); else { if (Options.getSkin().getSliderStyle() != Skin.STYLE_PEPPYSLIDER) - Log.warn("New slider style requires OpenGL 2.0."); + Log.warn("New slider style requires OpenGL 3.0."); } } diff --git a/src/itdelatrisu/opsu/render/CurveRenderState.java b/src/itdelatrisu/opsu/render/CurveRenderState.java index 00e63be5..8f4643a4 100644 --- a/src/itdelatrisu/opsu/render/CurveRenderState.java +++ b/src/itdelatrisu/opsu/render/CurveRenderState.java @@ -360,7 +360,6 @@ public class CurveRenderState { prev_ox = ox; prev_oy = oy; } - prev_ox = -offs_x; prev_oy = -offs_y; @@ -422,7 +421,6 @@ public class CurveRenderState { buff.put(x + offs_x); buff.put(y + offs_y); buff.put(1.0f); buff.put(1.0f); - last_dx = diff_x; last_dy = diff_y; last_ox = offs_x;