[Mesa-dev] [PATCHv2] glx: fix non-dri build

2018-01-15 Thread Samuel Thibault
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 make it just return NULL in that case. Fixes: 84f764a75

Re: [Mesa-dev] [PATCHv2] glx: fix non-dri build

2018-01-15 Thread Nicolai Hähnle
On 15.01.2018 15:38, 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 make it ju

Re: [Mesa-dev] [PATCHv2] glx: fix non-dri build

2018-01-15 Thread Hans de Goede
Hi, On 15-01-18 15:38, 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 make it

Re: [Mesa-dev] [PATCHv2] glx: fix non-dri build

2018-01-16 Thread Emil Velikov
On 15 January 2018 at 14:38, 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