egl/wayland: make sure HAS_$FORMAT is set for wl_dmabuf
authorEmil Velikov <emil.velikov@collabora.com>
Sun, 27 Aug 2017 10:20:35 +0000 (11:20 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 29 Aug 2017 12:43:04 +0000 (13:43 +0100)
commit9e07005e8709a51f9236e78e8d47d71ab3243e4d
tree09de3289f78bc09a1dd3f409329d794342da6503
parent293d64e96f22ade476378262a7582482a14edec1
egl/wayland: make sure HAS_$FORMAT is set for wl_dmabuf

Otherwise eglCreateWaylandBufferFromImageWL will fail, since we
have no "supported" format.

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