egl: only store device name when Wayland support is built
authorFrank Binns <frank.binns@imgtec.com>
Fri, 17 Jun 2016 17:41:22 +0000 (18:41 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 1 Sep 2016 14:47:58 +0000 (15:47 +0100)
commitd6f669ba834697b7321c7ea2cbb38794385c7205
tree73d0d46a5925f2729eb1edc5ba20f209b363cf69
parent2dc6930a5a54c0f586ba09437123c380f3eae456
egl: only store device name when Wayland support is built

The device name is only needed for WL_bind_wayland_display so make this clear
by only storing the device name when Wayland support is built.

Signed-off-by: Frank Binns <frank.binns@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/egl_dri2.c
src/egl/drivers/dri2/egl_dri2.h
src/egl/drivers/dri2/platform_drm.c
src/egl/drivers/dri2/platform_x11.c
src/egl/drivers/dri2/platform_x11_dri3.c