Enter glview's execution loop.
#include <glview/glview.h>
GLVIEW_API int glview_loop(void)
This function contains glview's main execution loop. You must call glview_initialize() before calling this function.
This function invokes the initialize callback before entering the execution loop. Once started, the execution loop runs for the life of the app, invoking at various points the registered callbacks. The only mandatory callback is the display callback, which is called once per loop.
When the user exits the app, the execution loop breaks, and the finalize callback is invoked.
The glview_loop() function does not return until the user exits the application. When glview_loop() returns, the graphics stack has already been taken down, and glview has already been destroyed. Any calls to glview after glview_loop() has returned will either fail or have unspecified behavior.