Don't mark unreliable, just rehash each time.

This improves perf significantly without the bugs.
This commit is contained in:
Unknown W. Brackets 2013-02-12 00:17:12 -08:00
parent 1e1979b786
commit b548fe0aa6

View File

@ -954,7 +954,7 @@ void TransformDrawEngine::Flush() {
vai->drawsUntilNextFullHash = std::min(24, vai->numFrames);
} else {
// Lower numbers seem much more likely to change.
vai->status = VertexArrayInfo::VAI_UNRELIABLE;
vai->drawsUntilNextFullHash = 0;
}
// TODO: tweak
//if (vai->numFrames > 1000) {