commit | 6638c55838b8f5186166b7855fdaf41e0a015e88 | [log] [tgz] |
---|---|---|
author | Emil Velikov <emil.l.velikov@gmail.com> | Wed May 28 14:36:46 2014 +0100 |
committer | Emil Velikov <emil.l.velikov@gmail.com> | Thu May 29 20:01:03 2014 +0100 |
tree | d4738951163de4bfe4a84441a8397898661fe84e | |
parent | dfd117b8570a69a429e660c069997e78b181ab6d [diff] |
egl_dri2: fix wayland_platform when drm_platform is not set The build fails with implicit delaration of drmGetCap (xf86drm.h) Were we're including the header only when building the DRM_PLATFORM. Wayland backend can operate without DRM_PLATFORM so replace the guard, and fold in drmGetCap() usage to silence compiler warnings. Cc: Chad Versace <chad.versace@linux.intel.com> Cc: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>