From 0dce2349c0b3d3939ac9efc6d393fbf31b45a1cd Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Fri, 8 Sep 2023 08:39:47 +0300 Subject: [PATCH] Disable live resize in multithreaded rendering mode. --- platform/osx/os_osx.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/osx/os_osx.mm b/platform/osx/os_osx.mm index f393d6d61..d16566887 100644 --- a/platform/osx/os_osx.mm +++ b/platform/osx/os_osx.mm @@ -476,7 +476,7 @@ static NSCursor *cursorFromSelector(SEL selector, SEL fallback = nil) { @implementation PandemoniumContentView - (void)drawRect:(NSRect)dirtyRect { - if (OS_OSX::singleton->get_main_loop() && OS_OSX::singleton->is_resizing) { + if (OS_OSX::singleton->get_main_loop() && (OS_OSX::singleton->get_render_thread_mode() != OS::RENDER_SEPARATE_THREAD) && OS_OSX::singleton->is_resizing) { Main::force_redraw(); if (!Main::is_iterating()) { // Avoid cyclic loop. Main::iteration();