egl/wayland: set correct format with wl_dmabuf as wl_drm is missing
authorEmil Velikov <emil.velikov@collabora.com>
Sun, 27 Aug 2017 10:20:32 +0000 (11:20 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 29 Aug 2017 12:43:04 +0000 (13:43 +0100)
commitda100fe6970ac8ca34ced69c6c5dfe8a4f5bec90
treec23875edfabbb1d39b39651ea8c7bcdcf2327b76
parent6a1b683e74f744b55ac61a6446393b38f41be629
egl/wayland: set correct format with wl_dmabuf as wl_drm is missing

For most/all cases today, we have wl_drm available alongside wl_dmabuf.
Yet in the long run, we want to make sure the latter can operate without
any traces of the former.

Fixes: 02cc35937277 ("egl/wayland: Use linux-dmabuf interface for buffers")
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/egl/drivers/dri2/platform_wayland.c