aboutsummaryrefslogtreecommitdiff
path: root/shm.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-11-01 23:23:51 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-11-01 23:23:51 +0000
commit8df82938b0549d0c5820ce258f0097a0370e75ea (patch)
tree94270df4b9b9bfc272f92bffc391d2c5e57f1803 /shm.h
parentshm: add debug logging of how large the allocated memory buffer is (diff)
shm: get_buffer(): remove 'copies' argument; it's not used
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 68013888..312d45a9 100644
--- a/shm.h
+++ b/shm.h
@@ -19,6 +19,5 @@ struct buffer {
pixman_image_t *pix;
};
-struct buffer *shm_get_buffer(
- struct wl_shm *shm, int width, int height, size_t copies);
+struct buffer *shm_get_buffer(struct wl_shm *shm, int width, int height);
void shm_fini(void);