diff options
author | Ryan C. Gordon <icculus@icculus.org> | 2015-05-26 21:19:23 -0400 |
---|---|---|
committer | Ryan C. Gordon <icculus@icculus.org> | 2015-05-26 21:19:23 -0400 |
commit | 696a7fc1c04a9d607c94fa02378112e81aa88d46 (patch) | |
tree | 2654c220436256a06048713e9686e8a816536aa1 /test/torturethread.c | |
parent | df36e5f52a2bd71e25848b5a3b5fb08354ec6103 (diff) | |
download | sdl-696a7fc1c04a9d607c94fa02378112e81aa88d46.tar.gz |
Stack hint should look for 0, not -1, and not care about environment variables.
Diffstat (limited to 'test/torturethread.c')
-rw-r--r-- | test/torturethread.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/torturethread.c b/test/torturethread.c index 116ec09a2..efbab5e32 100644 --- a/test/torturethread.c +++ b/test/torturethread.c @@ -87,8 +87,6 @@ main(int argc, char *argv[]) SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't initialize SDL: %s\n", SDL_GetError()); return (1); } - - SDL_SetHintWithPriority(SDL_HINT_THREAD_STACK_SIZE, SDL_getenv(SDL_HINT_THREAD_STACK_SIZE), SDL_HINT_OVERRIDE); signal(SIGSEGV, SIG_DFL); for (i = 0; i < NUMTHREADS; i++) { |