Mercurial > sdl-ios-xcode
changeset 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 | d2c6881935be |
files | src/video/x11/SDL_x11gl.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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