14.020 How do I change between double- andsingle-buffered mode, in an existing a window?
If you create a single-buffered window, youcan't change it.
If you create a double-buffered window, youcan treat it as a single-buffered window by settingglDrawBuffer() to GL_FRONT and replacing your swap bufferscall with a glFlush() call. To switch back to double-buffered,you need to set glDrawBuffer() to GL_BACK, and call swapbuffers at the end of the frame.