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