Correct detection of GLSL version for curve rendering
This commit is contained in:
parent
c0b3da37c2
commit
940e9baa41
|
@ -87,7 +87,7 @@ 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 && capabilities.OpenGL33;
|
||||
if (mmsliderSupported)
|
||||
CurveRenderState.init(width, height, circleSize);
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user