Set pool_buffers busy when handing them out
This commit is contained in:
parent
d9fc381e02
commit
54a5ee2747
|
@ -144,5 +144,6 @@ struct pool_buffer *get_next_buffer(struct wl_shm *shm,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
buffer->busy = true;
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue