Skip to content
Commit 8deda13e authored by Michael Natterer's avatar Michael Natterer 😴
Browse files

Make cairo code work with newer cairo backends that actually use caching

Call cairo_surface_flush() before reading or writing a surface's
pixels directly, and use cairo_surface_mark_dirty() after writing
pixels directly, so we don't read old pixels, and our written pixels
get actually used.
(manually cherry-picked from fad60536)
parent bd62d6c1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment