Fix T79896 Awful performance with Dyntopo on
Regression caused by rB9443da6166f5. Forgot to clear the flag.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user