mesa fails to build when configured --disable-driglx-direct [...] glxcmds.c: In function ‘glx_context_init’: glxcmds.c:239: error: ‘struct glx_screen’ has no member named ‘scr’ glxcmds.c: In function ‘__glXGetVideoSyncSGI’: [...]
Created attachment 38478 [details] [review] Some fixes for GLX_INDIRECT_RENDERING only build Attached patch fixes some (not all) of GLX_INDIRECT_RENDERING and !GLX_DIRECT_RENDERING build issues. There still remain some issues with the use of psc->dpy in indirect_glx.c. I'm not sure if changing to use psc->display->dpy is sematically the same. In which case psc->dpy could be removed?
(In reply to comment #1) > Created an attachment (id=38478) [details] > Some fixes for GLX_INDIRECT_RENDERING only build > > Attached patch fixes some (not all) of GLX_INDIRECT_RENDERING and > !GLX_DIRECT_RENDERING build issues. > > There still remain some issues with the use of psc->dpy in indirect_glx.c. I'm > not sure if changing to use psc->display->dpy is sematically the same. In > which case psc->dpy could be removed? I moved the fields out of the direct-rendering conditional. Using psc->display->dpy should work too and eliminating psc->dpy would be less redundant, but we're trying to release 7.9 in a few weeks, so I'd like to hold off until then.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.