From: lordhavoc Date: Wed, 15 May 2002 09:04:56 +0000 (+0000) Subject: increased MAX_SURFVERTS to hold as many as the surf mesh splitter in model_brush... X-Git-Tag: RELEASE_0_2_0_RC1~510 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a4e3b7d2e4cb643f1d2f476bc8cbbad54e707f06;p=xonotic%2Fdarkplaces.git increased MAX_SURFVERTS to hold as many as the surf mesh splitter in model_brush.c allows (and added comment saying so) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@1842 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rsurf.c b/gl_rsurf.c index edfe4cdb..c810b022 100644 --- a/gl_rsurf.c +++ b/gl_rsurf.c @@ -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];