On 04.03.2015 21:16, Chris Wilson wrote:
> There is no point in setting up the acceleration for indirect GLX if
> indirect GLX is itself disabled.
> 
> Signed-off-by: Chris Wilson <[email protected]>
> ---
>  glx/glxdri2.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/glx/glxdri2.c b/glx/glxdri2.c
> index ec86a73..7cb0f28 100644
> --- a/glx/glxdri2.c
> +++ b/glx/glxdri2.c
> @@ -945,6 +945,9 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
>      size_t buffer_size;
>      ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
>  
> +    if (!enableIndirectGLX)
> +         return NULL;
> +
>      screen = calloc(1, sizeof *screen);
>      if (screen == NULL)
>          return NULL;
> 

Can the GLX visual information still be probed from the DRI driver with
this patch?


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to