aboutsummaryrefslogtreecommitdiff
path: root/shm.c
diff options
context:
space:
mode:
Diffstat (limited to 'shm.c')
-rw-r--r--shm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/shm.c b/shm.c
index 1b2c9d7c..fd962698 100644
--- a/shm.c
+++ b/shm.c
@@ -31,10 +31,8 @@ static const struct wl_buffer_listener buffer_listener = {
};
struct buffer *
-shm_get_buffer(struct wl_shm *shm, int width, int height, size_t copies)
+shm_get_buffer(struct wl_shm *shm, int width, int height)
{
- assert(copies >= 1);
-
tll_foreach(buffers, it) {
if (it->item.width != width || it->item.height != height)
continue;