WinRT: made the WinRT video driver always be initialize-able

This commit is contained in:
David Ludwig 2012-10-27 22:57:07 -04:00
parent 431ac0d7f5
commit 4c0105454c

View file

@ -50,12 +50,7 @@ static void WINRT_VideoQuit(_THIS);
static int static int
WINRT_Available(void) WINRT_Available(void)
{ {
const char *envr = SDL_getenv("SDL_VIDEODRIVER"); return (1);
if ((envr) && (SDL_strcmp(envr, WINRTVID_DRIVER_NAME) == 0)) {
return (1);
}
return (0);
} }
static void static void