# HG changeset patch # User Sam Lantinga # Date 988310244 0 # Node ID 2c4a3a759c66e8d33fbc8b0ed2691438230cf473 # Parent 332f458469f0c6c5a9a8bbf5ec697f63ed471b4a *** empty log message *** diff -r 332f458469f0 -r 2c4a3a759c66 src/video/SDL_video.c --- a/src/video/SDL_video.c Thu Apr 26 17:05:23 2001 +0000 +++ b/src/video/SDL_video.c Thu Apr 26 18:37:24 2001 +0000 @@ -1263,7 +1263,7 @@ int retval; retval = -1; - if ( video->GL_LoadLibrary ) { + if ( video && video->GL_LoadLibrary ) { retval = video->GL_LoadLibrary(this, path); } else { SDL_SetError("No dynamic GL support in video driver");