Skip to content
Permalink
Browse files

Mac: Fix a crash when SDL is compiled with SDL_MAC_NO_SANDBOX enabled…

…, by increasing the stack size of the mouse tap thread back to OS X' default of 512 KB.
  • Loading branch information
slime73 committed May 21, 2016
1 parent 4a46873 commit 0a4085a048ab896ea834bc72090b0545dd1c7fda

File 3 of 3 in 0a4085a

@@ -202,7 +202,7 @@

tapdata->runloopStartedSemaphore = SDL_CreateSemaphore(0);
if (tapdata->runloopStartedSemaphore) {
tapdata->thread = SDL_CreateThreadInternal(&Cocoa_MouseTapThread, "Event Tap Loop", 64 * 1024, tapdata);
tapdata->thread = SDL_CreateThreadInternal(&Cocoa_MouseTapThread, "Event Tap Loop", 512 * 1024, tapdata);
if (!tapdata->thread) {
SDL_DestroySemaphore(tapdata->runloopStartedSemaphore);
}

0 comments on commit 0a4085a

Please sign in to comment.