# HG changeset patch # User Ryan C. Gordon # Date 1137119795 0 # Node ID ff73ee89ff4bf1ddbabf0c6a0d8997ac02460ee8 # Parent ca51a76a7328afc4cdba3e98ca4d70458c08a69d Don't trample SDL_LoadObject()'s error message in GL loader. diff -r ca51a76a7328 -r ff73ee89ff4b src/video/x11/SDL_x11gl.c --- 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