little correction
glutSwapBuffers used insteed of glFlush because Double is used