dhewm3/neo/sys
Daniel Gibson dee76dbb21 Increase stack size on Windows to 8MB, so huge models work
The HD version of the "Birdman" Hellknight model crashed the game,
because on Linux it triggered the 600KB _alloca() assertion and on
Windows (that didn't have such an assertion up to this commit) it
overflowed the stack.
Thde default stacksize on Windows is 1MB, increasing that to 8MB fixes the
problem (in Doom3 1.3.1 it was 4MB).
I also implemented the _alloca() size check assertion for Windows, and
increased the allowed size to 2MB (so it can be safely called multiple
times per function)
Model: https://www.moddb.com/mods/birdman-doom3/downloads/birdman-doom3-v11
2023-01-21 19:26:11 +01:00
..
aros dhewm3log.txt for AROS 2022-01-16 06:12:51 +01:00
cmake Use stb_vorbis instead of libogg and libvorbis(file) 2021-04-27 20:08:59 +02:00
linux POSIX: log output to save_path/dhewm3log.txt 2022-01-16 06:11:20 +01:00
osx Remove deprecated warnings on mac for cString use. 2022-07-07 22:47:12 +02:00
posix POSIX: log output to save_path/dhewm3log.txt 2022-01-16 06:11:20 +01:00
stub Make window alpha chan opaque on Wayland, fix #426 2022-02-05 16:34:34 +01:00
win32 dhewm3log.txt for Windows, update changelog 2022-01-16 18:17:39 +01:00
cpu.cpp Fix sys/cpu.cpp for msvc 64bit 2012-07-06 01:06:59 +02:00
doom_icon.h Window Icon, make in_nograb work with SDL2 2015-03-02 00:03:30 +01:00
events.cpp Add absolute mouse mode and refactor mouse grabbing code 2022-01-10 00:46:32 +01:00
glimp.cpp Make window alpha chan opaque on Wayland, fix #426 2022-02-05 16:34:34 +01:00
platform.h Increase stack size on Windows to 8MB, so huge models work 2023-01-21 19:26:11 +01:00
sys_local.cpp Get rid of Sys_FPU_StackIsEmpty() 2012-07-06 01:06:53 +02:00
sys_local.h Get rid of Sys_FPU_StackIsEmpty() 2012-07-06 01:06:53 +02:00
sys_public.h Fix SDL1.2 build and type of xthreadInfo::threadId 2023-01-16 03:22:01 +01:00
threads.cpp Fix SDL1.2 build and type of xthreadInfo::threadId 2023-01-16 03:22:01 +01:00