]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
reduce stack requirements
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 7 Jan 2010 01:12:33 +0000 (01:12 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 7 Jan 2010 01:12:33 +0000 (01:12 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9798 d7cf8633-e32d-0410-b094-e92efae38249

svbsp.c

diff --git a/svbsp.c b/svbsp.c
index e4ef43b5ef0009fd88e07c65050faafc5c768dc2..c3e69371915d95ba0e5bc1107a2b342432571eb0 100644 (file)
--- a/svbsp.c
+++ b/svbsp.c
@@ -8,7 +8,7 @@
 #include "svbsp.h"
 #include "polygon.h"
 
-#define MAX_SVBSP_POLYGONPOINTS 64
+#define MAX_SVBSP_POLYGONPOINTS 16
 #define SVBSP_CLIP_EPSILON (1.0f / 1024.0f)
 
 #define SVBSP_DotProduct(a,b) ((a)[0]*(b)[0]+(a)[1]*(b)[1]+(a)[2]*(b)[2])