Commit 9d0ba0f2 authored by Haihua Hu's avatar Haihua Hu

wayland/wlbuffer: just return if used_by_compositor is true when attach

When buffer is used by compositor, we don't need attach it and hold one
more reference. Just check used_by_compositor, just return if it is true.
Assert error log is not need, this is normal behavior.
parent ab9d42cc
Pipeline #38167 passed with stages
in 52 minutes and 2 seconds