*** empty log message ***
authorSam Lantinga <slouken@lokigames.com>
Thu, 26 Apr 2001 18:37:24 +0000
changeset 7 2c4a3a759c66
parent 6 332f458469f0
child 8 5574376c451d
*** empty log message ***
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");