diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2014-05-28 14:36:46 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2014-05-29 20:01:03 +0100 |
commit | 6638c55838b8f5186166b7855fdaf41e0a015e88 (patch) | |
tree | d4738951163de4bfe4a84441a8397898661fe84e /src/gallium | |
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>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions