Gambas Documentation - /comp/gb.opengl/gl/finish

/comp/gb.opengl/gl/finish

# Gl.Finish (gb.opengl)

Static Sub Finish ( )

Block until all GL execution is complete.

### Description

Gl.Finish 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.

### Notes

Gl.Finish requires a round trip to the server.

### See also

- Gl.Flush

See original documentation on OpenGL website