mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 13:37:56 +00:00
Stack hint should look for 0, not -1, and not care about environment variables.
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user