From c5c7997fc22cf914f72179d813ad6a41506e0293 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Tue, 10 May 2016 12:00:39 +0200 Subject: eglfs-viv: Fix config test fbGetDisplay() expects a context pointer, but the config test was calling this function without any arguments, causing the test to fail even when the Vivante EGLFS device integration is actually supported. This got broken in 5.7 by the INTEGRITY changes in 9b35b0e8dc6069aed563d0aca61c973eb307d772. Task-number: QTBUG-53282 Change-Id: I233d93618b1c8a31d12b31139d3bfbd3d6429839 Done-with: Carlos Rafael Giani Reviewed-by: Andy Nichols --- config.tests/qpa/eglfs-viv/eglfs-viv.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (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 a41c482b67..96935a2aa0 100644 --- a/config.tests/qpa/eglfs-viv/eglfs-viv.cpp +++ b/config.tests/qpa/eglfs-viv/eglfs-viv.cpp @@ -43,6 +43,8 @@ int main(int, char **) { - fbGetDisplay(); + // Do not rely on fbGetDisplay() since the signature has changed over time. + // Stick to fbGetDisplayByIndex(). + fbGetDisplayByIndex(0); return 0; } -- cgit v1.2.3