swap-gl-buffers in canvas%
Calls
swap-buffers on the result of
get-gl-context for this canvas's DC as returned by
get-dc.
The
swap-buffers method acquires a re-entrant lock, so nested calls to
with-gl-context on different threads or OpenGL contexts can block or deadlock.