From: Jan Altensen Date: Sat, 3 Oct 2020 05:13:27 +0000 (+0200) Subject: libhwc: resolve compilation errors X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5a1b00f8b13bc0f3c5d5c9370e6e382df13021db;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung_slsi_exynos.git libhwc: resolve compilation errors Change-Id: I9f5e26da0398d240b74ea763f11dbf085faa7e00 --- 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