src/core/winrt/SDL_winrtapp_common.cpp
changeset 8532 0f4be71aa156
child 8582 c3e9a2b93517
equal deleted inserted replaced
8531:d481485a1b85 8532:0f4be71aa156
       
     1 
       
     2 #include <SDL_system.h>
       
     3 #include "SDL_winrtapp_direct3d.h"
       
     4 #include "SDL_winrtapp_xaml.h"
       
     5 
       
     6 int (*WINRT_SDLAppEntryPoint)(int, char **) = NULL;
       
     7 
       
     8 extern "C" DECLSPEC int
       
     9 SDL_WinRTRunApp(int (*mainFunction)(int, char **), void * xamlBackgroundPanel)
       
    10 {
       
    11     if (xamlBackgroundPanel) {
       
    12         return SDL_WinRTInitXAMLApp(mainFunction, xamlBackgroundPanel);
       
    13     } else {
       
    14         return SDL_WinRTInitNonXAMLApp(mainFunction);
       
    15     }
       
    16 }