From 390f756a37af8f5a2336e43edff8ef345a39743e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 15 Mar 2020 14:33:11 +0100 Subject: X11: Don't use CAIRO_OPERATOR_SOURCE for blitting This causes artifacts in some scenarios. Although CAIRO_OPERATOR_SOURCE should be faster, the default operator works better in the absence of real double buffering. --- pugl/detail/x11_cairo.c | 1 - 1 file changed, 1 deletion(-) (limited to 'pugl/detail') diff --git a/pugl/detail/x11_cairo.c b/pugl/detail/x11_cairo.c index efbc5ca..41de7cc 100644 --- a/pugl/detail/x11_cairo.c +++ b/pugl/detail/x11_cairo.c @@ -135,7 +135,6 @@ puglX11CairoLeave(PuglView* view, const PuglEventExpose* expose) // Paint front onto back cairo_set_source_surface(surface->cr, surface->front, 0, 0); - cairo_set_operator(surface->cr, CAIRO_OPERATOR_SOURCE); cairo_paint(surface->cr); // Flush to X and close everything -- cgit v1.2.1