Skip to content

drm_hwcomposer: Fix alpha check

Andrew Wolfers requested to merge aswolfers/drm-hwcomposer:alpha-fix into main

This change fixes a check which determines whether a layer's alpha is set to opaque. The PresentInfo::alpha property was recently converted to float, but the check in DrmPlane::IsValidForLayer was still comparing it to the integer value.

Change-Id: Ie1a8304d7302d1d646d0542be92795e93f57e0d9 Signed-off-by: Andrew Wolfers aswolfers@google.com

Merge request reports

Loading