Skip to content

Commit

Permalink
Correct detection of GLSL version for curve rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
mad-s committed Aug 8, 2015
1 parent c0b3da3 commit 940e9ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/itdelatrisu/opsu/objects/curves/Curve.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public static void init(int width, int height, float circleSize, Color borderCol
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 {
Expand Down

0 comments on commit 940e9ba

Please sign in to comment.