egl/wayland: Widen channel masks to bpp
authorDaniel Stone <daniels@collabora.com>
Tue, 6 Feb 2018 18:06:52 +0000 (18:06 +0000)
committerDaniel Stone <daniels@collabora.com>
Fri, 9 Feb 2018 16:17:15 +0000 (16:17 +0000)
commit845c2f61563f17193cfdec263f2b72ede20af3c7
tree302b7a61754ae3e8dc435b6f72617818ff166e10
parent19cbca38e45b609f21fb14d75b3bffbd6c6426d6
egl/wayland: Widen channel masks to bpp

Widen the channel masks given in the visual table to the full width of
the pixel format, i.e. as many leading zeros as required.

No functional change.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Tested-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/egl/drivers/dri2/platform_wayland.c