Skip to content
Commit fad60536 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.
parent d2fd8a8d
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