diff --git a/src/video/x11/SDL_x11gl.c b/src/video/x11/SDL_x11gl.c index c60f4ea09..d61ebca00 100644 --- a/src/video/x11/SDL_x11gl.c +++ b/src/video/x11/SDL_x11gl.c @@ -474,7 +474,7 @@ int X11_GL_LoadLibrary(_THIS, const char* path) #else handle = SDL_LoadObject(path); if ( handle == NULL ) { - SDL_SetError("Could not load OpenGL library"); + /* SDL_LoadObject() will call SDL_SetError() for us. */ return -1; } #endif