WinRT: made the WinRT video driver always be initialize-able
authorDavid Ludwig <dludwig@pobox.com>
Sat, 27 Oct 2012 22:57:07 -0400
changeset 8328 88b08ad81bf7
parent 8327 bc51589f33dc
child 8329 c3047b88e35b
WinRT: made the WinRT video driver always be initialize-able
src/video/windowsrt/SDL_winrtvideo.c
--- a/src/video/windowsrt/SDL_winrtvideo.c	Sat Oct 27 22:48:04 2012 -0400
+++ b/src/video/windowsrt/SDL_winrtvideo.c	Sat Oct 27 22:57:07 2012 -0400
@@ -50,12 +50,7 @@
 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