src/video/SDL_video.c
changeset 7 2c4a3a759c66
parent 1 cf2af46e9e2a
child 11 7b94b6379341
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);