st/omx: fix building against X11-less setups
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 5 Dec 2016 22:22:44 +0000 (22:22 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 19 May 2017 18:46:49 +0000 (19:46 +0100)
commit115cb729d8feedf2d33187a5789ebc7582cc3042
treec86592c5d647b3c1708a4a795f2ab6d21f2711ab
parentd71ce62e84c588a804f457ad159c8ab94cf335b2
st/omx: fix building against X11-less setups

The vl_*_screen_create API properly falls back to a NOP when we're
building without specific platforms. So the only thing we need is to
handle the lack of X11/Xlib.h and provide a dummy Display define.

Cc: <mesa-stable@lists.freedesktop.org>
Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/state_trackers/omx/entrypoint.c