Nicolai Hähnle, on lun. 15 janv. 2018 15:07:03 +0100, wrote: > On 13.01.2018 12:36, Samuel Thibault wrote: > > glXGetDriverConfig parameters do not provide a context to dynamically > > check for the presence of the function, so the dispatcher directly calls > > glXGetDriverConfig, but in non-dri builds dri_glx.c didn't provide > > glXGetDriverConfig. > > > > This change makes it provide a NULL-returning stub in non-dri builds. > > > > Fixes: 84f764a7591 "glxglvnddispatch: Add missing dispatch for > > GetDriverConfig" > > Would it be possible to instead modify dispatch_GetDriverConfig with an: > > #if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL) > ... > #else > return NULL; > #endif
Sure! There is just one thing: src/glx/g_glxglvnddispatchfuncs.c reads * THIS FILE IS AUTOMATICALLY GENERATED BY gen_scrn_dispatch.pl * DO NOT EDIT!! I didn't find that script... Samuel _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev