title: Save and reload screen in opengl
body: <p>I have written a program like ms paint with glut/opengl and i want to save current screen and reload after some drawing.
  How to save current display screen into a variable and reload when needed?</p>