From 007b1cd738e39f96c3dc87855f81729ef997f651 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 13 Jan 2006 02:36:35 +0000 Subject: [PATCH] Don't trample SDL_LoadObject()'s error message in GL loader. --- src/video/x11/SDL_x11gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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