mirror of
https://github.com/yawut/SDL.git
synced 2026-09-10 10:06:26 -05:00
Don't trample SDL_LoadObject()'s error message in GL loader.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user