/* Sets a new value for the number of frames to display before swapping buffers.  */
int glSetSwapInterval(_THIS, int interval)
/* Sets a new value for the number of frames to display before swapping buffers.  */
int glSetSwapInterval(_THIS, int interval)
{
    if (eglSwapInterval(egl_disp, interval) != EGL_TRUE) {
        return -1;
    }
    return 0;
}