<CONTEXT>gl.glEnable(GL2ES1.GL_CLIP_PLANE0 + planeIndex);record.planeEnabled[planeIndex] = true;</BUG>}record.buf.rewind();record.buf.put(state.getPlaneEquations(planeIndex));<extra_id_0>}record.buf.rewind();record.buf.put(state.getPlaneEquations(planeIndex));<BUG>record.buf.flip();gl.getGL2().glClipPlane(GL2ES1.GL_CLIP_PLANE0 + planeIndex, record.buf);} else {if (!record.isValid() || record.planeEnabled[planeIndex]) {gl.glDisable(GL2ES1.GL_CLIP_PLANE0 + planeIndex);record.planeEnabled[planeIndex] = false;</BUG>}</CONTEXT>
record.planeEnabled[planeIndex] = true;if (gl.isGL2ES1()) {