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

This commit is contained in:
Ryan C. Gordon
2006-01-13 02:36:35 +00:00
parent f221a8bc28
commit ed8dea650b

View File

@@ -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