Skip to content

Commit

Permalink
Don't trample SDL_LoadObject()'s error message in GL loader.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jan 13, 2006
1 parent bf72d6f commit 007b1cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11gl.c
Expand Up @@ -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
Expand Down

0 comments on commit 007b1cd

Please sign in to comment.