From baed91bab05546f7f5233701bd7aaed44f25a364 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Mon, 23 Aug 2021 18:45:12 +0200 Subject: implement explicit screen flushing also for Skia/Mac MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I29b9f54d24aece32949ac3ba916f1d6588cfd85f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120910 Tested-by: Jenkins Reviewed-by: Luboš Luňák --- vcl/osx/salframe.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vcl/osx') diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx index 18263fa5ea46..5b3a7e665ff5 100644 --- a/vcl/osx/salframe.cxx +++ b/vcl/osx/salframe.cxx @@ -988,6 +988,7 @@ void AquaSalFrame::Flush() // => fall back to synchronous painting if( ImplGetSVData()->maAppData.mnDispatchLevel <= 0 ) { + mpGraphics->Flush(); [mpNSView display]; } } @@ -1008,6 +1009,7 @@ void AquaSalFrame::Flush( const tools::Rectangle& rRect ) // => fall back to synchronous painting if( ImplGetSVData()->maAppData.mnDispatchLevel <= 0 ) { + mpGraphics->Flush( rRect ); [mpNSView display]; } } -- cgit