Edit

kc3-lang/SDL/src/core/winrt/SDL_winrtapp_common.cpp

Branch :

  • Show log

    Commit

  • Author : David Ludwig
    Date : 2013-09-22 23:17:25
    Hash : 6004b764
    Message : WinRT: added missing files

  • src/core/winrt/SDL_winrtapp_common.cpp
  • #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)
    {
        if (xamlBackgroundPanel) {
            return SDL_WinRTInitXAMLApp(mainFunction, xamlBackgroundPanel);
        } else {
            return SDL_WinRTInitNonXAMLApp(mainFunction);
        }
    }