src/video/cocoa/SDL_cocoamousetap.m
changeset 10146 471eb08040ce
parent 10122 f0645cd8fd39
child 10147 ddbdc9c1b92f
     1.1 --- a/src/video/cocoa/SDL_cocoamousetap.m	Tue Apr 12 14:38:50 2016 -0400
     1.2 +++ b/src/video/cocoa/SDL_cocoamousetap.m	Tue Apr 12 16:45:10 2016 -0400
     1.3 @@ -32,8 +32,8 @@
     1.4  #if SDL_MAC_NO_SANDBOX
     1.5  
     1.6  #include "SDL_keyboard.h"
     1.7 -#include "SDL_thread.h"
     1.8  #include "SDL_cocoavideo.h"
     1.9 +#include "../thread/SDL_systhread.h"
    1.10  
    1.11  #include "../../events/SDL_mouse_c.h"
    1.12  
    1.13 @@ -202,7 +202,7 @@
    1.14  
    1.15      tapdata->runloopStartedSemaphore = SDL_CreateSemaphore(0);
    1.16      if (tapdata->runloopStartedSemaphore) {
    1.17 -        tapdata->thread = SDL_CreateThread(&Cocoa_MouseTapThread, "Event Tap Loop", tapdata);
    1.18 +        tapdata->thread = SDL_CreateThreadInternal(&Cocoa_MouseTapThread, "Event Tap Loop", 64 * 1024, tapdata);
    1.19          if (!tapdata->thread) {
    1.20              SDL_DestroySemaphore(tapdata->runloopStartedSemaphore);
    1.21          }