diff options
Diffstat (limited to 'src/gleem/ManipPartLineSeg.java')
-rw-r--r-- | src/gleem/ManipPartLineSeg.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gleem/ManipPartLineSeg.java b/src/gleem/ManipPartLineSeg.java index 682c5c0..e243c62 100644 --- a/src/gleem/ManipPartLineSeg.java +++ b/src/gleem/ManipPartLineSeg.java @@ -127,8 +127,8 @@ public class ManipPartLineSeg extends ManipPart { if (!visible) return; // FIXME: probably too slow - boolean reenable = gl.glIsEnabled(GL.GL_LIGHTING); - gl.glDisable(GL.GL_LIGHTING); + boolean reenable = gl.glIsEnabled(GL2ES1.GL_LIGHTING); + gl.glDisable(GL2ES1.GL_LIGHTING); gl.glBegin(GL.GL_LINES); if (highlighted) gl.glColor3f(highlightColor.x(), highlightColor.y(), highlightColor.z()); @@ -140,7 +140,7 @@ public class ManipPartLineSeg extends ManipPart { } gl.glEnd(); if (reenable) - gl.glEnable(GL.GL_LIGHTING); + gl.glEnable(GL2ES1.GL_LIGHTING); } //---------------------------------------------------------------------- |