parent
59ff67b617
commit
6bc6441985
|
@ -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.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user