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

Emil Velikov emil.l.velikov at gmail.com
Fri Jan 11 14:18:14 UTC 2019


On Sat, 29 Dec 2018 at 16:05, Ilia Mirkin <imirkin at alum.mit.edu> 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.

This sound better IMHO. Thanks Ilia!

-Emil


More information about the mesa-dev mailing list