Register a callback that will be fired once the execution loop is exited, but before glview is destroyed.
GLVIEW_API int glview_register_finalize_callback(finalize_callback finalize_callback)
The function to call immediately after exiting the event loop. If finalize_callback is NULL, any previously registered callback will be disabled and no function will be called.
Last modified: 2013-12-21