mirror of
https://github.com/yawut/SDL.git
synced 2026-09-07 16:45:57 -05:00
WinRT: made the WinRT video driver always be initialize-able
This commit is contained in:
@@ -50,12 +50,7 @@ static void WINRT_VideoQuit(_THIS);
|
||||
static int
|
||||
WINRT_Available(void)
|
||||
{
|
||||
const char *envr = SDL_getenv("SDL_VIDEODRIVER");
|
||||
if ((envr) && (SDL_strcmp(envr, WINRTVID_DRIVER_NAME) == 0)) {
|
||||
return (1);
|
||||
}
|
||||
|
||||
return (0);
|
||||
return (1);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user