[Mesa-dev] [PATCH 1/2] egl/egldevice: Fix broken reference to dev->device without LIBDRM

Mathias Fröhlich Mathias.Froehlich at gmx.net
Sun Dec 30 08:17:12 UTC 2018


Hi,

On Saturday, 29 December 2018 17:05:16 CET Ilia Mirkin wrote:
> On Sat, Dec 29, 2018 at 6:17 AM Mathias Fröhlich
> <Mathias.Froehlich at gmx.net> wrote:
> > In Emils patches building on top, _eglGetDRMDeviceRenderNode is only called from
> > code paths guarded with HAVE_LIBDRM.
> 
> OK, so we could also guard the function's existence on HAVE_LIBDRM as
> well. I think that's the most logical way forward, rather than having
> a function which unexpectedly returns NULL.

If you want. I don't have a strong preference for either.

best
Mathias




More information about the mesa-dev mailing list