Maintain the hashmap from time to time. Fix a bug in count reset on grow.

This commit is contained in:
Henrik Rydgård
2017-08-20 13:20:16 +02:00
parent ceb76bd89a
commit 237cca683b
2 changed files with 60 additions and 21 deletions

View File

@@ -375,6 +375,7 @@ void DrawEngineGLES::DecimateTrackedVertexArrays() {
vai_.Remove(hash);
}
});
vai_.Maintain();
}
GLuint DrawEngineGLES::AllocateBuffer(size_t sz) {