mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
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:
parent
c48324975d
commit
4502d58eec
8 changed files with 39 additions and 22 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue