From 77eca7a8e23682afb941a4dbe1b6342833cada08 Mon Sep 17 00:00:00 2001 From: David Ludwig Date: Sat, 27 Oct 2012 22:27:51 -0400 Subject: [PATCH] WinRT: disabled threads to prevent SDL_Init(SDL_INIT_VIDEO) from crashing --- include/SDL_config_windowsrt.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/SDL_config_windowsrt.h b/include/SDL_config_windowsrt.h index 76f8a6d93..f8c2df300 100644 --- a/include/SDL_config_windowsrt.h +++ b/include/SDL_config_windowsrt.h @@ -158,7 +158,9 @@ typedef unsigned int uintptr_t; #define SDL_LOADSO_WINDOWS 1 /* Enable various threading systems */ -#define SDL_THREAD_WINDOWS 1 +// TODO, WinRT: get threads working on WinRT +#define SDL_THREADS_DISABLED 1 +//#define SDL_THREAD_WINDOWS 1 /* Enable various timer systems */ // TODO, WinRT: look into getting SDL's pre-WinRT timers working.