diff --git a/src/video/x11/SDL_x11opengl.c b/src/video/x11/SDL_x11opengl.c index 88652ce8c30ae5f2e6a166e9f886cc6a23076df6..36b31bbe9793a8e15b3a18ee59f2938d5247f4cb 100644 --- a/src/video/x11/SDL_x11opengl.c +++ b/src/video/x11/SDL_x11opengl.c @@ -224,7 +224,7 @@ X11_GL_InitExtensions(_THIS) } /* Check for SGI_swap_control */ - if (HasExtension("SGI_swap_control", extensions)) { + if (HasExtension("GLX_SGI_swap_control", extensions)) { _this->gl_data->glXSwapIntervalSGI = (int (*)(int)) X11_GL_GetProcAddress(_this, "glXSwapIntervalSGI"); }