mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-27 07:58:07 -04:00
shm: get_buffer(): remove 'copies' argument; it's not used
This commit is contained in:
parent
632b6ee0ea
commit
8df82938b0
3 changed files with 4 additions and 7 deletions
4
shm.c
4
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue