Provide a callback that will be called to draw a single frame.
#include <glview/glview.h>
GLVIEW_API int glview_display_once(display_once_callback display_once_callback)
The callback that will be fired to draw a single frame. This is the callback_data specified during the call to glview_set_callback_data().
When the app has been put into the background (due to idle timeout, or by user action) rendering no longer occurs in the glview execution loop. This function allows the app to draw a pause screen (or anything else the app wishes to display). The callback will be invoked immediately, and once the function completes glview will swap the buffers to immediately display what was drawn.