Don't trample SDL_LoadObject()'s error message in GL loader.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 13 Jan 2006 02:36:35 +0000
changeset 1247ff73ee89ff4b
parent 1246 ca51a76a7328
child 1248 d2c6881935be
Don't trample SDL_LoadObject()'s error message in GL loader.
src/video/x11/SDL_x11gl.c
     1.1 --- a/src/video/x11/SDL_x11gl.c	Fri Jan 13 02:32:07 2006 +0000
     1.2 +++ b/src/video/x11/SDL_x11gl.c	Fri Jan 13 02:36:35 2006 +0000
     1.3 @@ -474,7 +474,7 @@
     1.4  	#else
     1.5  		handle = SDL_LoadObject(path);
     1.6  		if ( handle == NULL ) {
     1.7 -			SDL_SetError("Could not load OpenGL library");
     1.8 +			/* SDL_LoadObject() will call SDL_SetError() for us. */
     1.9  			return -1;
    1.10  		}
    1.11  	#endif