Re: [PATCH] glx: Do not call into Composite if it is disabled.

2018-04-10 Thread Adam Jackson
On Wed, 2018-02-14 at 14:33 -0500, Adam Jackson wrote: > On Tue, 2018-02-13 at 10:33 +0100, Michal Srb wrote: > > Otherwise X server crashes if GLX is enabled and Composite disabled. For > > example the compIsAlternateVisual function will try to lookup CompScreenPtr > > using the

Re: [PATCH] glx: Do not call into Composite if it is disabled.

2018-02-14 Thread Adam Jackson
On Tue, 2018-02-13 at 10:33 +0100, Michal Srb wrote: > Otherwise X server crashes if GLX is enabled and Composite disabled. For > example the compIsAlternateVisual function will try to lookup CompScreenPtr > using the CompScreenPrivateKey, but that was never initialized if Composite is > disabled.

[PATCH] glx: Do not call into Composite if it is disabled.

2018-02-13 Thread Michal Srb
Otherwise X server crashes if GLX is enabled and Composite disabled. For example the compIsAlternateVisual function will try to lookup CompScreenPtr using the CompScreenPrivateKey, but that was never initialized if Composite is disabled. Fixes: f84e59a4f4. ("glx: Duplicate relevant fbconfigs for