diff src/video/x11/SDL_x11gl.c @ 1247:ff73ee89ff4b

Don't trample SDL_LoadObject()'s error message in GL loader.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 13 Jan 2006 02:36:35 +0000
parents ca51a76a7328
children c9b51268668f
line wrap: on
line diff
--- a/src/video/x11/SDL_x11gl.c	Fri Jan 13 02:32:07 2006 +0000
+++ b/src/video/x11/SDL_x11gl.c	Fri Jan 13 02:36:35 2006 +0000
@@ -474,7 +474,7 @@
 	#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