Fix OpenGL version requirement.
This commit is contained in:
parent
bae3b711cf
commit
2aa1fd7b4e
|
@ -95,7 +95,7 @@ public abstract class Curve {
|
||||||
Curve.borderColor = borderColor;
|
Curve.borderColor = borderColor;
|
||||||
|
|
||||||
ContextCapabilities capabilities = GLContext.getCapabilities();
|
ContextCapabilities capabilities = GLContext.getCapabilities();
|
||||||
mmsliderSupported = capabilities.OpenGL20;
|
mmsliderSupported = capabilities.OpenGL30;
|
||||||
if (mmsliderSupported)
|
if (mmsliderSupported)
|
||||||
CurveRenderState.init(width, height, circleDiameter);
|
CurveRenderState.init(width, height, circleDiameter);
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user