Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
1246:ca51a76a7328 | 1247:ff73ee89ff4b |
---|---|
472 } | 472 } |
473 } | 473 } |
474 #else | 474 #else |
475 handle = SDL_LoadObject(path); | 475 handle = SDL_LoadObject(path); |
476 if ( handle == NULL ) { | 476 if ( handle == NULL ) { |
477 SDL_SetError("Could not load OpenGL library"); | 477 /* SDL_LoadObject() will call SDL_SetError() for us. */ |
478 return -1; | 478 return -1; |
479 } | 479 } |
480 #endif | 480 #endif |
481 | 481 |
482 | 482 |