[Mesa-dev] [Bug 91596] EGL_KHR_gl_colorspace (v2) causes problem with Android-x86 GUI
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Oct 2 12:54:56 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=91596
--- Comment #13 from Ilia Mirkin <imirkin at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151002/82d6b852/attachment.html>
More information about the mesa-dev
mailing list