summaryrefslogtreecommitdiff
path: root/test/torturethread.c
diff options
context:
space:
mode:
authorRyan C. Gordon <icculus@icculus.org>2015-05-26 21:19:23 -0400
committerRyan C. Gordon <icculus@icculus.org>2015-05-26 21:19:23 -0400
commit696a7fc1c04a9d607c94fa02378112e81aa88d46 (patch)
tree2654c220436256a06048713e9686e8a816536aa1 /test/torturethread.c
parentdf36e5f52a2bd71e25848b5a3b5fb08354ec6103 (diff)
downloadsdl-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.c2
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++) {