Change the vsync setting.
GLVIEW_API int glview_set_vsync(int vsync)
If this parameter is non-zero, it specifies the minimum number of video frames before a buffer swap. If it is zero then vsync is disabled.
Library:libglview (For the qcc command, use the -l glview option to link against this library)
By default, vsync is enabled (set to 1). Call this function to disable vsync or to change the vsync interval.
- EPERM: glview_intialize() was not called prior to glview_set_vsync().
Last modified: 2014-05-14