From 66177f070f72a3b0e5788dc6ec889320ecf2fe02 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 18 Nov 2009 08:54:13 +0000 Subject: [PATCH] If we explicitly request a driver, try to initialize it. --- src/video/SDL_video.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c index 877371828..c4a9f964d 100644 --- a/src/video/SDL_video.c +++ b/src/video/SDL_video.c @@ -193,9 +193,7 @@ SDL_VideoInit(const char *driver_name, Uint32 flags) if (driver_name != NULL) { for (i = 0; bootstrap[i]; ++i) { if (SDL_strcasecmp(bootstrap[i]->name, driver_name) == 0) { - if (bootstrap[i]->available()) { - video = bootstrap[i]->create(index); - } + video = bootstrap[i]->create(index); break; } }