Follow-up to #216.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han 2016-12-19 14:17:41 -05:00
parent 59ff67b617
commit 6bc6441985
2 changed files with 1 additions and 3 deletions

View File

@ -100,7 +100,7 @@ public abstract class Curve {
CurveRenderState.init(width, height, circleDiameter); CurveRenderState.init(width, height, circleDiameter);
else { else {
if (Options.getSkin().getSliderStyle() != Skin.STYLE_PEPPYSLIDER) 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.");
} }
} }

View File

@ -360,7 +360,6 @@ public class CurveRenderState {
prev_ox = ox; prev_oy = oy; prev_ox = ox; prev_oy = oy;
} }
prev_ox = -offs_x; prev_ox = -offs_x;
prev_oy = -offs_y; prev_oy = -offs_y;
@ -422,7 +421,6 @@ public class CurveRenderState {
buff.put(x + offs_x); buff.put(y + offs_y); buff.put(x + offs_x); buff.put(y + offs_y);
buff.put(1.0f); buff.put(1.0f); buff.put(1.0f); buff.put(1.0f);
last_dx = diff_x; last_dx = diff_x;
last_dy = diff_y; last_dy = diff_y;
last_ox = offs_x; last_ox = offs_x;