Commit 0eb1d37f authored by Ryan C. Gordon's avatar Ryan C. Gordon

Don't trample SDL_LoadObject()'s error message in GL loader.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401250
parent a216fe3c
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment