Fixed various build and runtime errors when using WinRT with VS2012.

This commit is contained in:
David Ludwig
2014-03-12 11:57:15 -04:00
parent 36e7c8d92d
commit b68b6e23d1
11 changed files with 125 additions and 30 deletions

View File

@@ -42,7 +42,7 @@
SDL_bool WINRT_XAMLWasEnabled = SDL_FALSE;
#if WINAPI_FAMILY == WINAPI_FAMILY_APP
ISwapChainBackgroundPanelNative * WINRT_GlobalSwapChainBackgroundPanelNative = NULL;
extern "C" ISwapChainBackgroundPanelNative * WINRT_GlobalSwapChainBackgroundPanelNative = NULL;
static Windows::Foundation::EventRegistrationToken WINRT_XAMLAppEventToken;
#endif