Skip to content
Permalink
Browse files

Don't trample SDL_LoadObject()'s error message in GL loader.

  • Loading branch information
icculus committed Jan 13, 2006
1 parent bf72d6f commit 007b1cd738e39f96c3dc87855f81729ef997f651
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/x11/SDL_x11gl.c
@@ -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

0 comments on commit 007b1cd

Please sign in to comment.