egl: only store device name when Wayland support is built

Graphics / Mesa 3D Graphics Library / Mesa - Frank Binns [imgtec.com] - 1 September 2016 09:47 EDT

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.

d6f669b egl: only store device name when Wayland support is built
src/egl/drivers/dri2/egl_dri2.c | 5 ++++-
src/egl/drivers/dri2/egl_dri2.h | 2 +-
src/egl/drivers/dri2/platform_drm.c | 3 ++-
src/egl/drivers/dri2/platform_x11.c | 21 ++++++++++-----------
src/egl/drivers/dri2/platform_x11_dri3.c | 11 +++++++----
5 files changed, 24 insertions(+), 18 deletions(-)

Upstream: cgit.freedesktop.org


  • Share