https://bugs.freedesktop.org/show_bug.cgi?id=91596

--- Comment #13 from Ilia Mirkin <imir...@alum.mit.edu> ---
(In reply to Ilia Mirkin from comment #12)
> Looking over that patch, I noticed this hunk:
> 
>        memcpy(&conf->base, &base, sizeof base);
>        if (double_buffer) {
> -         conf->dri_double_config = dri_config;
> -         conf->dri_single_config = NULL;
> +         if (srgb)
> +            conf->dri_srgb_double_config = dri_config;
> +         else
> +            conf->dri_double_config = dri_config;
>        } else {
> -         conf->dri_single_config = dri_config;
> -         conf->dri_double_config = NULL;
> +         if (srgb)
> +            conf->dri_srgb_single_config = dri_config;
> +         else
> +            conf->dri_single_config = dri_config;
>        }
> 
> Previously the "other" configs would get cleared out whereas they aren't
> anymore.

Er nevermind. Before it was malloc'd but now it's calloc'd.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to