| | |
| | | /* |
| | | Simple DirectMedia Layer |
| | | Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> |
| | | Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org> |
| | | |
| | | This software is provided 'as-is', without any express or implied |
| | | warranty. In no event will the authors be held liable for any damages |
| | |
| | | */ |
| | | #include "../../SDL_internal.h" |
| | | |
| | | #include "SDL_main.h" |
| | | #include "SDL_system.h" |
| | | #include "SDL_winrtapp_direct3d.h" |
| | | #include "SDL_winrtapp_xaml.h" |
| | |
| | | int (*WINRT_SDLAppEntryPoint)(int, char **) = NULL; |
| | | |
| | | extern "C" DECLSPEC int |
| | | SDL_WinRTRunApp(int (*mainFunction)(int, char **), void * xamlBackgroundPanel) |
| | | SDL_WinRTRunApp(SDL_main_func mainFunction, void * xamlBackgroundPanel) |
| | | { |
| | | if (xamlBackgroundPanel) { |
| | | return SDL_WinRTInitXAMLApp(mainFunction, xamlBackgroundPanel); |
| | |
| | | #endif |
| | | |
| | | return SDL_WINRT_DEVICEFAMILY_UNKNOWN; |
| | | } |
| | | } |