clang-format: run formatter

This commit is contained in:
Vaxry 2026-03-26 20:21:26 +00:00
parent ee7f68820b
commit 1b661d06da
Signed by: vaxry
GPG key ID: 665806380871D640

View file

@ -166,7 +166,7 @@ CLinuxDMABUFParamsResource::CLinuxDMABUFParamsResource(UP<CZwpLinuxBufferParamsV
const uint64_t modifier = (sc<uint64_t>(modHi) << 32) | modLo;
const bool anyPlaneSet = std::ranges::any_of(m_attrs->fds, [](int planeFD) { return planeFD != -1; });
const bool anyPlaneSet = std::ranges::any_of(m_attrs->fds, [](int planeFD) { return planeFD != -1; });
if (m_resource->version() >= 5 && anyPlaneSet && m_attrs->modifier != modifier) {
r->error(ZWP_LINUX_BUFFER_PARAMS_V1_ERROR_INVALID_FORMAT, "planes have different modifiers");
return;