From 79642ee8dcafa6e92305f0ab1d8f24e8cc100ec2 Mon Sep 17 00:00:00 2001 From: rpatlega Date: Thu, 1 Dec 2022 20:21:31 +0530 Subject: [PATCH] Fix of missing processEvent call Adding processEvent will ensure window message to be processed before read. Affects: dEQP-EGL.functional.native_color_mapping.native_window.* VK-GL-CTS issue: 4148 Components: EGL Change-Id: Ib81c50e7442decb0ccdfbe3b93cb03f3e0eb09fb --- modules/egl/teglNativeColorMappingTests.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/egl/teglNativeColorMappingTests.cpp b/modules/egl/teglNativeColorMappingTests.cpp index de3b309..c24fe4a 100644 --- a/modules/egl/teglNativeColorMappingTests.cpp +++ b/modules/egl/teglNativeColorMappingTests.cpp @@ -345,6 +345,7 @@ bool testNativeWindow (TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::N EGLU_CHECK_CALL(egl, swapBuffers(display, *surface)); EGLU_CHECK_CALL(egl, waitClient()); deSleep(waitFrames*16); + nativeWindow.processEvents(); nativeWindow.readScreenPixels(&result); if (!validate(log, egl, display, config, result, colors[colorNdx])) -- 2.7.4