From 0f6978820230e23e0bcce5e4f7eace7e65796390 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 26 Apr 2001 18:37:24 +0000 Subject: [PATCH] *** empty log message *** --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%408 --- src/video/SDL_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c index 610295924..777e64dbf 100644 --- a/src/video/SDL_video.c +++ b/src/video/SDL_video.c @@ -1263,7 +1263,7 @@ int SDL_GL_LoadLibrary(const char *path) 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");