]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rsurf.c
increased MAX_SURFVERTS to hold as many as the surf mesh splitter in model_brush...
[xonotic/darkplaces.git] / gl_rsurf.c
index edfe4cdbcd4e6b7831eafe783cf2439f696512a6..c810b02228a4bed1fa22deab623d32d8958b6e58 100644 (file)
@@ -485,7 +485,8 @@ static float turbsin[256] =
 };
 #define TURBSCALE (256.0 / (2 * M_PI))
 
-#define MAX_SURFVERTS 1024
+// only need to hold as many verts as the mesh splitter will allow in model_brush.c
+#define MAX_SURFVERTS 3072
 typedef struct
 {
        float v[4];