mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-29 07:58:01 -04:00
shm: move ‘size’ to the private buffer struct
This commit is contained in:
parent
f5da62c462
commit
99ea47c97a
3 changed files with 18 additions and 18 deletions
3
shm.h
3
shm.h
|
|
@ -16,8 +16,7 @@ struct buffer {
|
|||
int height;
|
||||
int stride;
|
||||
|
||||
size_t size; /* Buffer size */
|
||||
void *data; /* Raw data (TODO: rename) */
|
||||
void *data;
|
||||
|
||||
struct wl_buffer *wl_buf;
|
||||
pixman_image_t **pix;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue