[Mesa-dev] [Bug 79629] [dri3] piglit glx_GLX_ARB_create_context_current_with_no_framebuffer fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 15 02:31:52 PDT 2014


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

--- Comment #5 from meng <mengmeng.meng at intel.com> ---
(In reply to comment #1)
> Fix you build bot.

Hi, with the patch would fix build issue:
--------------------
diff --git a/test/dri3.c b/test/dri3.c
index b5eb4ba..45f3285 100644
--- a/test/dri3.c
+++ b/test/dri3.c
@@ -43,7 +43,7 @@ Pixmap dri3_create_pixmap(Display *dpy,
                xcb_dri3_pixmap_from_buffer(c, pixmap, draw, size, width,
height, stride, depth, bpp, fd);
                return pixmap;
        }
-       return NullPixmap;
+       return 0;
 }

Then bisect again, find the first bad commit is :
commit d8eb87f84f88ad2df42c6fed1d93df76589a14e3
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu May 8 16:25:32 2014 +0100

    sna: Add support for DRI3

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140815/ca97b023/attachment-0001.html>


More information about the mesa-dev mailing list