Browse Source

WinRT: made SDL_GetPlatform() return "WinRT" and not 'Unknown'

Thanks to Eric Wing for the heads-up on this!
David Ludwig 11 năm trước cách đây
mục cha
commit
646025b6c2
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/SDL.c

+ 2 - 0
src/SDL.c

@@ -439,6 +439,8 @@ SDL_GetPlatform()
     return "Solaris";
 #elif __WIN32__
     return "Windows";
+#elif __WINRT__
+    return "WinRT";
 #elif __IPHONEOS__
     return "iOS";
 #elif __PSP__