buffer: remove buffer->cairo

It's more common for cairo_t to have a temporary lifetime and it will
prevent accidentally reusing its previous state.
This commit is contained in:
tokyo4j 2024-11-28 06:58:17 +09:00
parent 337a75b2c4
commit 5f943293ac
8 changed files with 39 additions and 22 deletions

View file

@ -34,7 +34,6 @@ struct lab_data_buffer {
bool surface_owns_data;
cairo_surface_t *surface;
cairo_t *cairo;
void *data;
uint32_t format; /* currently always DRM_FORMAT_ARGB8888 */
size_t stride;