aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/osx/graphics/quartz/Painter.cpp5
1 files changed, 2 insertions, 3 deletions
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);
}
}