Skip to content
Snippets Groups Projects
Commit 5804f0cb authored by Gundalf's avatar Gundalf
Browse files

Don't generate hundreds of tiny strips.

parent 029290cd
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,10 @@ void Exporter::strippify(TriStrips &strips, const Triangles &tris)
PrimitiveGroup * groups = 0;
unsigned short numGroups = 0;
SetStitchStrips( false );
// GF 3, what about others?
SetCacheSize(CACHESIZE_GEFORCE3);
// don't generate hundreds of strips
SetStitchStrips(true);
GenerateStrips(data, tris.size()*3, &groups, &numGroups);
free( data );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment