Rewrote shaders for GLSL 110 (openGL2.0).
This commit is contained in:
@@ -87,12 +87,12 @@ public abstract class Curve {
|
||||
Curve.borderColor = borderColor;
|
||||
|
||||
ContextCapabilities capabilities = GLContext.getCapabilities();
|
||||
mmsliderSupported = capabilities.GL_EXT_framebuffer_object && capabilities.OpenGL30;
|
||||
mmsliderSupported = capabilities.GL_EXT_framebuffer_object;
|
||||
if (mmsliderSupported)
|
||||
CurveRenderState.init(width, height, circleSize);
|
||||
else {
|
||||
if (Options.getSkin().getSliderStyle() != Skin.STYLE_PEPPYSLIDER)
|
||||
Log.warn("New slider style requires FBO support and OpenGL 3.0.");
|
||||
Log.warn("New slider style requires FBO support.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user