diff options
-rwxr-xr-x | moorefield_hdmi/common/base/HwcLayerList.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/moorefield_hdmi/common/base/HwcLayerList.cpp b/moorefield_hdmi/common/base/HwcLayerList.cpp index 5185e98..c163c8a 100755 --- a/moorefield_hdmi/common/base/HwcLayerList.cpp +++ b/moorefield_hdmi/common/base/HwcLayerList.cpp @@ -68,7 +68,7 @@ bool HwcLayerList::checkSupported(int planeType, HwcLayer *hwcLayer) } // check usage - if (!hwcLayer->getUsage() & GRALLOC_USAGE_HW_COMPOSER) { + if (!(hwcLayer->getUsage() & GRALLOC_USAGE_HW_COMPOSER)) { WLOGTRACE("not a composer layer"); return false; } @@ -134,7 +134,7 @@ bool HwcLayerList::checkRgbOverlaySupported(HwcLayer *hwcLayer) } // check usage - if (!hwcLayer->getUsage() & GRALLOC_USAGE_HW_COMPOSER) { + if (!(hwcLayer->getUsage() & GRALLOC_USAGE_HW_COMPOSER)) { WLOGTRACE("not a composer layer"); return false; } @@ -204,7 +204,7 @@ bool HwcLayerList::checkCursorSupported(HwcLayer *hwcLayer) } // check usage - if (!hwcLayer->getUsage() & GRALLOC_USAGE_HW_COMPOSER) { + if (!(hwcLayer->getUsage() & GRALLOC_USAGE_HW_COMPOSER)) { WLOGTRACE("not a composer layer"); return false; } |