Correct detection of GLSL version for curve rendering

This commit is contained in:
MatteoS 2015-08-08 14:43:56 +02:00
parent c0b3da37c2
commit 940e9baa41

View File

@ -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 {