The OpenD Programming Language

SimpleWindow.swapOpenGlBuffers

simpledisplay always uses double buffering, usually automatically. This manually swaps the OpenGL buffers.

More...
class SimpleWindow
version(!without_opengl)
void
swapOpenGlBuffers
()

Detailed Description

You should not need to call this yourself because simpledisplay will do it for you after calling your redrawOpenGlScene.

Remember that this may throw an exception, which you can catch in a multithreaded application to keep your thread from dying from an unhandled exception.

Meta