From: havoc Date: Fri, 8 Jul 2005 08:42:52 +0000 (+0000) Subject: reduce TRIANGLEEDGEHASH from 16384 bins to 8192 to avoid a stack overflow on MSVC x64 X-Git-Tag: xonotic-v0.1.0preview~4673 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=49cd70905c02b3cee323e22bc956244e66f731e8;p=xonotic%2Fdarkplaces.git reduce TRIANGLEEDGEHASH from 16384 bins to 8192 to avoid a stack overflow on MSVC x64 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5513 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/model_shared.c b/model_shared.c index 81fd300c..a85f6196 100644 --- a/model_shared.c +++ b/model_shared.c @@ -386,7 +386,7 @@ int Mod_BuildVertexRemapTableFromElements(int numelements, const int *elements, #if 1 // fast way, using an edge hash -#define TRIANGLEEDGEHASH 16384 +#define TRIANGLEEDGEHASH 8192 void Mod_BuildTriangleNeighbors(int *neighbors, const int *elements, int numtriangles) { int i, j, p, e1, e2, *n, hashindex, count, match;