[qwaq] Give qwaq progs a stack of 64kB

16kW should be enough as a default (when I get around to making it
configurable). Stops vkgen from trashing its heap with the stack.
This commit is contained in:
Bill Currie 2022-02-01 12:24:46 +09:00
parent 2fcec6e5cb
commit bea1155e9e

View file

@ -227,6 +227,7 @@ load_progs (progs_t *pr, const char *name)
pr->progs_name = name;
pr->max_edicts = 1;
pr->zone_size = 1024*1024;
pr->stack_size = 64*1024;
PR_LoadProgsFile (pr, file, size);
Qclose (file);
if (!PR_RunLoadFuncs (pr))