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

Ilia Mirkin imirkin at alum.mit.edu
Sat Dec 29 16:05:16 UTC 2018


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.


More information about the mesa-dev mailing list