comparison 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
comparison
equal deleted inserted replaced
6:332f458469f0 7:2c4a3a759c66
1261 SDL_VideoDevice *video = current_video; 1261 SDL_VideoDevice *video = current_video;
1262 SDL_VideoDevice *this = current_video; 1262 SDL_VideoDevice *this = current_video;
1263 int retval; 1263 int retval;
1264 1264
1265 retval = -1; 1265 retval = -1;
1266 if ( video->GL_LoadLibrary ) { 1266 if ( video && video->GL_LoadLibrary ) {
1267 retval = video->GL_LoadLibrary(this, path); 1267 retval = video->GL_LoadLibrary(this, path);
1268 } else { 1268 } else {
1269 SDL_SetError("No dynamic GL support in video driver"); 1269 SDL_SetError("No dynamic GL support in video driver");
1270 } 1270 }
1271 return(retval); 1271 return(retval);