Commit 98477eab authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Remove manual flush when sending buffer release event

This way we can batch more events before flushing the client connection.
parent ac60e358
......@@ -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));
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment