glFinish(3G)glFinish(3G)NAMEglFinish - block until all GL execution is complete
SYNOPSIS
void glFinish(
void );
DESCRIPTIONglFinish() does not return until the effects of all previously called
GL commands are complete. Such effects include all changes to GL state,
all changes to connection state, and all changes to the frame buffer
contents.
NOTESglFinish() requires a round trip to the server.
ERRORS
GL_INVALID_OPERATION is generated if glFinish() is executed between the
execution of glBegin() and the corresponding execution of glEnd().
SEE ALSOglFlush(3)glFinish(3G)