src/video/SDL_video.c
changeset 7 2c4a3a759c66
parent 1 cf2af46e9e2a
child 11 7b94b6379341
     1.1 --- a/src/video/SDL_video.c	Thu Apr 26 17:05:23 2001 +0000
     1.2 +++ b/src/video/SDL_video.c	Thu Apr 26 18:37:24 2001 +0000
     1.3 @@ -1263,7 +1263,7 @@
     1.4  	int retval;
     1.5  
     1.6  	retval = -1;
     1.7 -	if ( video->GL_LoadLibrary ) {
     1.8 +	if ( video && video->GL_LoadLibrary ) {
     1.9  		retval = video->GL_LoadLibrary(this, path);
    1.10  	} else {
    1.11  		SDL_SetError("No dynamic GL support in video driver");