From: havoc Date: Sat, 22 Jan 2011 20:55:05 +0000 (+0000) Subject: fix a crash with tcmod turbulent where it was not requesting texcoords X-Git-Tag: xonotic-v0.5.0~438^2~125 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=99deaadb45e498df3d3010d0a13c42bf5a4eadf4;p=xonotic%2Fdarkplaces.git fix a crash with tcmod turbulent where it was not requesting texcoords git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10716 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index 86650bcc..247f8656 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -11482,7 +11482,7 @@ void RSurf_PrepareVerticesForBatch(int batchneed, int texturenumsurfaces, const if (rsurface.texture->tcmods[0].tcmod == Q3TCMOD_TURBULENT) { dynamicvertex = true; - batchneed |= BATCHNEED_ARRAY_VERTEX | BATCHNEED_NOGAPS; + batchneed |= BATCHNEED_ARRAY_VERTEX | BATCHNEED_ARRAY_TEXCOORD | BATCHNEED_NOGAPS; needsupdate |= BATCHNEED_VERTEXMESH_TEXCOORD; }