Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
WinRT: made the WinRT video driver always be initialize-able
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLudwig committed Oct 28, 2012
1 parent 6944194 commit a543a25
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/video/windowsrt/SDL_winrtvideo.c
Expand Up @@ -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
Expand Down

0 comments on commit a543a25

Please sign in to comment.