Remove manual flush when sending buffer release event
This way we can batch more events before flushing the client connection.
This commit is contained in:
parent
ac60e35818
commit
98477eabc1
1 changed files with 0 additions and 1 deletions
|
@ -238,7 +238,6 @@ void BufferInterface::unref()
|
|||
if (d->refCount == 0) {
|
||||
if (d->buffer) {
|
||||
wl_buffer_send_release(d->buffer);
|
||||
wl_client_flush(wl_resource_get_client(d->buffer));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue