From daf2aa0047772acb294f795d70aabdd5c58765bf Mon Sep 17 00:00:00 2001 From: Kimmo Ollila Date: Fri, 13 Jan 2017 05:13:24 +0200 Subject: Add eglfs-viv support for INTEGRITY Change-Id: I5ea23eeac930dcc628047e3322061d543bddb643 Reviewed-by: Laszlo Agocs Reviewed-by: Oswald Buddenhagen Reviewed-by: Nikola Velinov --- config.tests/qpa/eglfs-viv/eglfs-viv.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.tests/qpa') diff --git a/config.tests/qpa/eglfs-viv/eglfs-viv.cpp b/config.tests/qpa/eglfs-viv/eglfs-viv.cpp index e6e17919dc..1f5c5dbf50 100644 --- a/config.tests/qpa/eglfs-viv/eglfs-viv.cpp +++ b/config.tests/qpa/eglfs-viv/eglfs-viv.cpp @@ -42,8 +42,12 @@ int main(int, char **) { +#if defined(__INTEGRITY) + fbGetDisplay(); +#else // Do not rely on fbGetDisplay() since the signature has changed over time. // Stick to fbGetDisplayByIndex(). fbGetDisplayByIndex(0); +#endif return 0; } -- cgit v1.2.3