Fetch the vsync setting.
GLVIEW_API int glview_get_vsync(int *vsync)
The output parameter that the current vsync setting will be written to. This parameter cannot be NULL. A non-zero value indicates the number of video frames that will occur before the buffer is swapped. A zero value indicates that vsync is disabled.
Library:libglview (For the qcc command, use the -l glview option to link against this library)
Fetch the current vsync setting. By default, vsync is enabled (set to 1).
- EPERM: glview_intialize() was not called prior to glview_get_vsync().
- EINVAL: output parameter is NULL.
Last modified: 2014-05-14