diff src/video/SDL_video.c @ 7:2c4a3a759c66

*** empty log message ***
author Sam Lantinga <slouken@lokigames.com>
date Thu, 26 Apr 2001 18:37:24 +0000
parents cf2af46e9e2a
children 7b94b6379341
line wrap: on
line diff
--- 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");