projects
/
xonotic
/
darkplaces.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7b5d56
)
reduce TRIANGLEEDGEHASH from 16384 bins to 8192 to avoid a stack overflow on MSVC x64
author
havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 8 Jul 2005 08:42:52 +0000
(08:42 +0000)
committer
havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 8 Jul 2005 08:42:52 +0000
(08:42 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5513
d7cf8633
-e32d-0410-b094-
e92efae38249
model_shared.c
patch
|
blob
|
history
diff --git
a/model_shared.c
b/model_shared.c
index
81fd300
..
a85f619
100644
(file)
--- 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;