From 01928c37e991e4ead8d767291179a900eaa7e5ef Mon Sep 17 00:00:00 2001 From: Jianle Wang Date: Sat, 9 May 2020 16:00:43 +0800 Subject: [PATCH] Fix the sorting order in eglChooseConfig test EGL_COLOR_COMPONENT_TYPE_EXT should be before EGL_COLOR_BUFFER_TYPE in sorting. Components: AOSP VK-GL-CTS issue: 2370 Affects: dEQP-EGL.functional.choose_config.color_component_type_ext.dont_care Change-Id: Ic502f17c800dac9f889931eb71971366a5cdb392 (cherry picked from commit 137766c7c9b4f7dac80b90ebf6f9a032188afe0f) --- modules/egl/teglChooseConfigReference.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/egl/teglChooseConfigReference.cpp b/modules/egl/teglChooseConfigReference.cpp index 8657ee0..878adc7 100644 --- a/modules/egl/teglChooseConfigReference.cpp +++ b/modules/egl/teglChooseConfigReference.cpp @@ -244,8 +244,8 @@ public: static const SurfaceConfig::CompareFunc compareFuncs[] = { SurfaceConfig::compareCaveat, - SurfaceConfig::compareColorBufferType, SurfaceConfig::compareColorComponentType, + SurfaceConfig::compareColorBufferType, DE_NULL, // SurfaceConfig::compareColorBufferBits, SurfaceConfig::compareAttributeSmaller, SurfaceConfig::compareAttributeSmaller, -- 2.7.4