gl.glPolygonMode(GL.GL_FRONT_AND_BACK, GL2.GL_FILL);
else
gl.glPolygonMode(GL.GL_FRONT_AND_BACK, GL2.GL_LINE);
// clear the display
gl.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_STENCIL_BUFFER_BIT);
// check if we need to highlight pixels which are inside the polygon
if (this.insideOutsideTest) {
// push the current color
gl.glPushAttrib(GL2.GL_CURRENT_BIT);