src/core/winrt/SDL_winrtapp_common.cpp
author David Ludwig <dludwig@pobox.com>
Sun, 22 Sep 2013 23:17:25 -0400
changeset 8532 0f4be71aa156
child 8582 c3e9a2b93517
permissions -rw-r--r--
WinRT: added missing files
     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 }