src/video/x11/SDL_x11opengl.c
changeset 10170 ccdb4d0934e9
parent 9998 f67cf37e9cd4
child 10173 5b0a869a9946
equal deleted inserted replaced
10169:e8062c7fa8b8 10170:ccdb4d0934e9
   708    than zero (or at least that is what the docs say). OTOH, 0 is an invalid
   708    than zero (or at least that is what the docs say). OTOH, 0 is an invalid
   709    argument to glxSwapIntervalSGI and it returns an error if you call it
   709    argument to glxSwapIntervalSGI and it returns an error if you call it
   710    with 0 as an argument.
   710    with 0 as an argument.
   711 */
   711 */
   712 
   712 
   713 static int swapinterval = -1;
   713 static int swapinterval = 0;
   714 int
   714 int
   715 X11_GL_SetSwapInterval(_THIS, int interval)
   715 X11_GL_SetSwapInterval(_THIS, int interval)
   716 {
   716 {
   717     int status = -1;
   717     int status = -1;
   718 
   718