Fix T79896 Awful performance with Dyntopo on

Regression caused by rB9443da6166f5. Forgot to clear the flag.
This commit is contained in:
2020-08-24 13:52:01 +02:00
parent cb8da6efce
commit 7ce764c9ec

View File

@@ -305,6 +305,7 @@ void GLBatch::bind(int i_first)
GPU_context_active_get()->state_manager->apply_state();
if (flag & GPU_BATCH_DIRTY) {
flag &= ~GPU_BATCH_DIRTY;
vao_cache_.clear();
}