Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 443 Bytes

SDL_winrtapp_common.cpp

File metadata and controls

16 lines (13 loc) · 443 Bytes
 
Sep 23, 2013
Sep 23, 2013
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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);
}
}