[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
Tue Oct 6 17:31:43 PDT 2015


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

Mauro Rossi <issor.oruam at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #19 from Mauro Rossi <issor.oruam at gmail.com> ---
Hi,

tested the patch by restoring conf->base.SurfaceType = 0;

it works on NV8x, HD7750 and Intel 946GZ, problem solved.

Thanks a lot.
Mauro


diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 461735f..2e68a65 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -312,6 +312,8 @@ dri2_add_config(_EGLDisplay *disp, const __DRIconfig
*dri_config, int id,
          else
             conf->dri_single_config = dri_config;
       }
+
+      conf->base.SurfaceType = 0;  
       conf->base.ConfigID = config_id;

       _eglLinkConfig(&conf->base);

-- 
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/20151007/434b7e10/attachment.html>


More information about the mesa-dev mailing list