diff options
author | David Robillard <d@drobilla.net> | 2020-03-15 14:33:11 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-15 14:33:11 +0100 |
commit | 390f756a37af8f5a2336e43edff8ef345a39743e (patch) | |
tree | 7ce71943713385aa09beb04c993112930623d695 /pugl/detail | |
parent | 6cca4669d8afc3c92b1f1ecd5d40614f4c568ade (diff) | |
download | pugl-390f756a37af8f5a2336e43edff8ef345a39743e.tar.gz pugl-390f756a37af8f5a2336e43edff8ef345a39743e.tar.bz2 pugl-390f756a37af8f5a2336e43edff8ef345a39743e.zip |
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.
Diffstat (limited to 'pugl/detail')
-rw-r--r-- | pugl/detail/x11_cairo.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 |