src/video/x11/SDL_x11dyn.c
branchSDL-1.2
changeset 3957 b1d5b56aa549
parent 1874 9e85b267f8f3
child 3958 85b6fb6a5e3c
     1.1 --- a/src/video/x11/SDL_x11dyn.c	Wed Jun 13 04:13:21 2007 +0000
     1.2 +++ b/src/video/x11/SDL_x11dyn.c	Wed Jun 13 07:54:10 2007 +0000
     1.3 @@ -73,6 +73,11 @@
     1.4  		}
     1.5  	}
     1.6  
     1.7 +	if (*fn != NULL)
     1.8 +		SDL_ClearError();
     1.9 +	else
    1.10 +		SDL_SetError("Failed to load function %s from x11libs", fnname);
    1.11 +
    1.12  	#if DEBUG_DYNAMIC_X11
    1.13  	if (*fn != NULL)
    1.14  		printf("X11: Found '%s' in %s (%p)\n", fnname, x11libs[i].libname, *fn);