[Mesa-dev] [Bug 101982] Weston crashes when running an OpenGL program on i965

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 31 14:33:41 UTC 2017


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

--- Comment #5 from Emil Velikov <emil.l.velikov at gmail.com> ---
There's a misplaced bracket - patch is coming in a second

--- a/src/mesa/drivers/dri/i965/intel_screen.c
+++ b/src/mesa/drivers/dri/i965/intel_screen.c
@@ -1058,7 +1058,7 @@ intel_query_dma_buf_formats(__DRIscreen *screen, int max,
       return true;
    }

-   for (i = 0; i < (ARRAY_SIZE(intel_image_formats)) && j < max; i++) {
+   for (i = 0; (i < ARRAY_SIZE(intel_image_formats)) && j < max; i++) {
      if (intel_image_formats[i].fourcc == __DRI_IMAGE_FOURCC_SARGB8888)
        continue;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170731/b20169d5/attachment.html>


More information about the mesa-dev mailing list