Commit a4824644 authored by Christopher Tenter's avatar Christopher Tenter
Browse files

remove tri from adjacent instead of current vertex

parent 648a9438
......@@ -444,7 +444,7 @@ GPUCacheOptimizerTipsify::GPUCacheOptimizerTipsify(unsigned int CacheSize, unsig
Opt_Vertex* adjV = pVerts + v;
--pV->iNumTrisLeft;
--adjV->iNumTrisLeft;
if (iTimeStamp - adjV->iCachePos > (int)CacheSize)
adjV->iCachePos = iTimeStamp++;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment