From 5a1b00f8b13bc0f3c5d5c9370e6e382df13021db Mon Sep 17 00:00:00 2001 From: Jan Altensen Date: Sat, 3 Oct 2020 07:13:27 +0200 Subject: [PATCH] libhwc: resolve compilation errors Change-Id: I9f5e26da0398d240b74ea763f11dbf085faa7e00 --- libhwc/ExynosHWC.cpp | 2 +- libhwc/ExynosHWC.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libhwc/ExynosHWC.cpp b/libhwc/ExynosHWC.cpp index 21d7397..c6f1e50 100644 --- a/libhwc/ExynosHWC.cpp +++ b/libhwc/ExynosHWC.cpp @@ -965,7 +965,7 @@ int exynos5_getDisplayAttributes(struct hwc_composer_device_1 *dev, values[i] = pdev->secondaryDisplay->getDisplayAttributes(attributes[i]); #else if (disp == HWC_DISPLAY_PRIMARY) - values[i] = pdev->primaryDisplay->getDisplayAttributes(attributes[i]); + values[i] = pdev->primaryDisplay->getDisplayAttributes(attributes[i], config); #endif else if (disp == HWC_DISPLAY_EXTERNAL) { if (hwcHasApiVersion((hwc_composer_device_1_t*)dev, HWC_DEVICE_API_VERSION_1_4)) diff --git a/libhwc/ExynosHWC.h b/libhwc/ExynosHWC.h index 6b05e81..324c1f1 100644 --- a/libhwc/ExynosHWC.h +++ b/libhwc/ExynosHWC.h @@ -37,7 +37,7 @@ #endif #include "ExynosDisplayResourceManagerModule.h" #else -#include +#include #endif #include -- 2.20.1