changeset 7:2c4a3a759c66

*** empty log message ***
author Sam Lantinga <slouken@lokigames.com>
date Thu, 26 Apr 2001 18:37:24 +0000
parents 332f458469f0
children 5574376c451d
files src/video/SDL_video.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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");