From 398aadcddb8b6ed20b17f6c56cd7b49947b72136 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 19 Oct 2021 22:34:32 +0800 Subject: ... --- src/osx/graphics/quartz/Painter.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/osx/graphics/quartz/Painter.cpp b/src/osx/graphics/quartz/Painter.cpp index c22f80fc..0dc9e786 100644 --- a/src/osx/graphics/quartz/Painter.cpp +++ b/src/osx/graphics/quartz/Painter.cpp @@ -138,12 +138,11 @@ void QuartzCGContextPainter::EndDraw() { DoEndDraw(); } void QuartzCGContextPainter::DoEndDraw() { if (cg_context_) { - on_end_draw_(this); - CGContextFlush(cg_context_); CGContextSynchronize(cg_context_); - log::TagDebug(log_tag, u"End draw and flush."); + + on_end_draw_(this); } } -- cgit v1.2.3