Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Revert "Avoid excessive blocking of main thread when rendering in direct mode (#7253)" (#7272)
Thorsten Ball2940a0ebd8a1
diff --git a/crates/gpui/src/platform/mac/metal_renderer.rs b/crates/gpui/src/platform/mac/metal_renderer.rsindex b3512ad2e9c..68027ceff68 100644--- a/crates/gpui/src/platform/mac/metal_renderer.rs+++ b/crates/gpui/src/platform/mac/metal_renderer.rs@@ -314,7 +314,7 @@ impl MetalRenderer {command_buffer.commit();self.sprite_atlas.clear_textures(AtlasTextureKind::Path);- command_buffer.wait_until_scheduled();+ command_buffer.wait_until_completed();drawable.present();}