aboutsummaryrefslogtreecommitdiff
path: root/shm.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-07-15 20:30:08 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-07-17 17:14:41 +0000
commit99ea47c97ac6884e469d1d2cdb76220f3398a737 (patch)
treea537f7c32aa38ac817f980331147fa2e42011aa6 /shm.h
parentshm: replace inclusion of terminal.h with a forward declaration of damage (diff)
shm: move ‘size’ to the private buffer struct
Diffstat (limited to 'shm.h')
-rw-r--r--shm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/shm.h b/shm.h
index dc37f1b7..435f9de4 100644
--- a/shm.h
+++ b/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;