Skip to content
Snippets Groups Projects
Commit 2e043c9b authored by Daniel Stone's avatar Daniel Stone Committed by Juan A. Suárez
Browse files

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: default avatarDaniel Stone <daniels@collabora.com>
Fixes: 0b2b7191 ("egl/wayland: introduce dri2_wl_add_configs_for_visuals() helper")
Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric@engestrom.ch>
Tested-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
(cherry picked from commit 4fbd2d50)
[Juan A. Suarez: resolve trivial conflicts]
Signed-off-by: default avatarJuan A. Suarez Romero <jasuarez@igalia.com>

Conflicts:
	src/egl/drivers/dri2/platform_wayland.c
parent 388ad950
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment