mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 16:43:01 +00:00
fixups mistake auto commit.
This commit is contained in:
parent
eaf60ca5d8
commit
ec206f7f95
|
@ -31,15 +31,6 @@ static std::optional<vk::BorderColor> TryConvertBorderColor(std::array<float, 4>
|
|||
return vk::BorderColor::eFloatOpaqueBlack;
|
||||
}
|
||||
return vk::BorderColor::eFloatTransparentBlack;
|
||||
// If color elements are brighter than roughly 0.5 average, use white border
|
||||
return vk::BorderColor::eFloatOpaqueWhite;
|
||||
} else {
|
||||
if (color[3] > 0.5f) {
|
||||
return vk::BorderColor::eFloatOpaqueBlack;
|
||||
} else {
|
||||
return vk::BorderColor::eFloatTransparentBlack;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue