src/video/x11/SDL_x11opengl.c
changeset 2105 12bcd4fd2606
parent 1956 ba0d62354872
child 2178 114a541cfae2
equal deleted inserted replaced
2104:a76e8b9f3d2e 2105:12bcd4fd2606
   222     } else {
   222     } else {
   223         extensions = NULL;
   223         extensions = NULL;
   224     }
   224     }
   225 
   225 
   226     /* Check for SGI_swap_control */
   226     /* Check for SGI_swap_control */
   227     if (HasExtension("SGI_swap_control", extensions)) {
   227     if (HasExtension("GLX_SGI_swap_control", extensions)) {
   228         _this->gl_data->glXSwapIntervalSGI =
   228         _this->gl_data->glXSwapIntervalSGI =
   229             (int (*)(int)) X11_GL_GetProcAddress(_this, "glXSwapIntervalSGI");
   229             (int (*)(int)) X11_GL_GetProcAddress(_this, "glXSwapIntervalSGI");
   230     }
   230     }
   231 
   231 
   232     /* Check for GLX_MESA_swap_control */
   232     /* Check for GLX_MESA_swap_control */