]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - svbsp.c
reduce stack requirements
[xonotic/darkplaces.git] / 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])