egl/wayland: Fix ARGB/XRGB transposition in config map
When 0b2b7191 moved from an if tree to a struct to map between wl_drm formats and EGLConfigs, it transposed the mapping between XRGB and ARGB. Luckily, everyone exposes both formats, so this is harmless. Signed-off-by:Daniel Stone <daniels@collabora.com> Fixes: 0b2b7191 ("egl/wayland: introduce dri2_wl_add_configs_for_visuals() helper") Reviewed-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Eric Engestrom <eric@engestrom.ch> Tested-by:
Ilia Mirkin <imirkin@alum.mit.edu> (cherry picked from commit 4fbd2d50) [Juan A. Suarez: resolve trivial conflicts] Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com> Conflicts: src/egl/drivers/dri2/platform_wayland.c
Loading
Please register or sign in to comment