egl/x11_dri3: provide an authentication function
authorFrank Binns <frank.binns@imgtec.com>
Fri, 17 Jun 2016 17:41:21 +0000 (18:41 +0100)
committerAxel Davy <axel.davy@ens.fr>
Wed, 31 Aug 2016 13:10:14 +0000 (15:10 +0200)
commit5505845945fb9bdd0c752b0f299a627591205dbd
tree598fc14b1925842ef817fa3d34f2d781b9984fc4
parent4c28c916ef229e94bd46fd1703e6b535e03e7e64
egl/x11_dri3: provide an authentication function

To support WL_bind_wayland_display an authentication function needs to be
provided but this was not being done for this platform as it's not strictly
necessary. However, as this isn't an optional function there's the potential
for a segfault to occur if authentication is mistakenly performed. Protect
against this by providing a function that prints an error.

Signed-off-by: Frank Binns <frank.binns@imgtec.com>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
src/egl/drivers/dri2/platform_x11_dri3.c