WinRT: made the WinRT video driver always be initialize-able
This commit is contained in:
parent
431ac0d7f5
commit
4c0105454c
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue